jco255

Results 5 comments of jco255

if I trace the call stack ```pycall(f, args...; kwargs...) = ... elseif !isempty(args) args_ = pytuple_fromiter(args) ans = pycallargs(f, args_) pydel!(args_)

if I run in gdb it shows Thread 1 "julia" received signal SIGSEGV, Segmentation fault. 0x00007fff9f0411f8 in subtype_dealloc () from /usr/lib64/libpython3.11.so.1.0 Missing separate debuginfos, use: yum debuginfo-install glibc-2.28-225.el8.x86_64 libffi-3.1-24.el8.x86_64 mpdecimal-2.5.1-3.el8.x86_64...

A Solution ``` pd = pydict(params) for i in 1:10_000_000 rp1(pd) end ``` the first version above wraps the julia dict in python as a juliacall.DictValue, while this version converts...

Ok new approach. We were making a bazillion pytuples and DictValues every time we called the function. Instead we can just cache these. Maybe this is the short-term (and possibly...

bravo. do you have a lot more going on than your earlier less-getptr branch? the first thing i did was try it (96bd22 or 2c2c95a "double-check the cache", not sure...