3 ms·
on par with python is way off. Julia in these areas definitely isn't fully optimized, but the performance will be much closer to something like Java for these c
by adgjlsfhk1 4y ago
on par with python is way off. Julia in these areas definitely isn't fully optimized, but the performance will be much closer to something like Java for these cases. a dict in Julia will still have 1 pointer indirect compared to the python one where all your objects have 16 bytes overhead and an extra pointer indirection.
- jakobnissen 4y agoPython's dicts are way more optimised and have an implementation closer to Dictionaries.jl. Anyway, I think it might be a good exercise for me to make a repo with a few test cases of where I think Julia could use some optimisations, and compare to Rust and Python.