shifting into 14th gear
I'm giddy with excitement!
Thanks to the magic of the intervaltree package, a crucial codepath that originally ran in 42 seconds...
... now runs in 3 SECONDS FLAT!! Just one-fourteenth (1/14) of the original time taken! That's a 1300% SPEEDUP!!
Who says Python can't be fast? :-D
It is true that one needs the proper data structure to efficiently and effectively manipulate data. Especially with Python. And since Python comes with "Batteries Included"... if you need esoteric data structure, as long as there's a scientific/mathematic principle behind the structure, chances are someone has already coded the necessary class(es). ;-)













