Skip to content

load python symbols globally when embedded rather than using lib_ptr (which is now NULL in this case)#780

Open
cjdoris wants to merge 2 commits into
mainfrom
embedded-no-lib-ptr
Open

load python symbols globally when embedded rather than using lib_ptr (which is now NULL in this case)#780
cjdoris wants to merge 2 commits into
mainfrom
embedded-no-lib-ptr

Conversation

@cjdoris
Copy link
Copy Markdown
Member

@cjdoris cjdoris commented May 30, 2026

Supports #773.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 30, 2026

Benchmark Results (Julia v1)

Time benchmarks
main ea805bd... main / ea805bd...
basic/@py/pydict/init 0.201 ± 0.053 ms 0.204 ± 0.052 ms 0.984 ± 0.36
basic/@py/pydict/pydel 0.2 ± 0.025 ms 0.203 ± 0.027 ms 0.985 ± 0.18
basic/julia/pydict/init 0.184 ± 0.058 ms 0.186 ± 0.058 ms 0.988 ± 0.44
basic/julia/pydict/pydel 0.185 ± 0.037 ms 0.188 ± 0.034 ms 0.985 ± 0.27
gc/full 0.548 ± 0.0036 s 0.545 ± 0.0051 s 1 ± 0.012
time_to_load 1.75 ± 0.041 s 1.74 ± 0.0048 s 1 ± 0.024
Memory benchmarks
main ea805bd... main / ea805bd...
basic/@py/pydict/init 5.01 k allocs: 0.0764 MB 5.01 k allocs: 0.0764 MB 1
basic/@py/pydict/pydel 5.01 k allocs: 0.0764 MB 5.01 k allocs: 0.0764 MB 1
basic/julia/pydict/init 4.01 k allocs: 0.0612 MB 4.01 k allocs: 0.0612 MB 1
basic/julia/pydict/pydel 4.01 k allocs: 0.0612 MB 4.01 k allocs: 0.0612 MB 1
gc/full 0 allocs: 0 B 0 allocs: 0 B
time_to_load 0.143 k allocs: 10.6 kB 0.143 k allocs: 10.6 kB 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant