4 ms·
There are fixed arrays in Julia too, for those who absolutely must eke out that last 1% gain in performance
by dnautics 10y ago
There are fixed arrays in Julia too, for those who absolutely must eke out that last 1% gain in performance
- xapata 10y agoIt ain't just a 1% gain. Use a Python list if you want to append/pop.
- _Wintermute 10y agoA deque is probably a better option for performance.
- xapata 10y agoDepends on how much it grows. I'd actually expect very little difference for most append/pop situations. A deque is there for appendleft and popleft.
- dnautics 10y agothat may be so in Python, but have you checked the performance differences in Julia?