Join Nostr
2025-05-01 06:10:20 UTC

Random Geek on Nostr: After watching a few videos, some fiddling around with making my #Python code faster ...

After watching a few videos, some fiddling around with making my #Python code faster (not like C fast, just fast enough to still feel useful with chunky tasks)

A basic longest common subsequence over 2 arrays w/25,000 elements each was 1m55s in CPython, 12s in Pypy, and 2s with CPython + Numba. (no parallelism or anything fancy applied by me, just a couple nested loops)

Good to know.