Skip to content

remove unsafe API: getptr, pycopy!, pyisnull, pynew, PyNULL, unsafe_pynext#786

Merged
cjdoris merged 3 commits into
v1from
remove-unsafe-api
Jun 4, 2026
Merged

remove unsafe API: getptr, pycopy!, pyisnull, pynew, PyNULL, unsafe_pynext#786
cjdoris merged 3 commits into
v1from
remove-unsafe-api

Conversation

@cjdoris
Copy link
Copy Markdown
Member

@cjdoris cjdoris commented Jun 4, 2026

Partially addresses #402

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Benchmark Results (Julia v1)

Time benchmarks
main 58c0317... main / 58c0317...
basic/@py/pydict/init 0.257 ± 0.057 ms 0.255 ± 0.043 ms 1.01 ± 0.28
basic/@py/pydict/pydel 0.259 ± 0.026 ms 0.257 ± 0.032 ms 1.01 ± 0.16
basic/julia/pydict/init 0.23 ± 0.079 ms 0.235 ± 0.078 ms 0.979 ± 0.47
basic/julia/pydict/pydel 0.235 ± 0.04 ms 0.236 ± 0.045 ms 0.998 ± 0.25
gc/full 0.654 ± 0.0032 s 0.445 ± 0.0077 s 1.47 ± 0.026
time_to_load 2.09 ± 0.047 s 2.1 ± 0.023 s 0.994 ± 0.025
Memory benchmarks
main 58c0317... main / 58c0317...
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

@cjdoris cjdoris merged commit deb7570 into v1 Jun 4, 2026
18 checks passed
@cjdoris cjdoris mentioned this pull request Jun 4, 2026
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