3 ms·
Using PyPy, which is a real compiler, might help. That's doing spatial data processing by exaustive search, which is inherently slow. There are better algorith
by Animats 4y ago
Using PyPy, which is a real compiler, might help.
That's doing spatial data processing by exaustive search, which is inherently slow.
There are better algorithms. If the number of items to be searched is large, the spatial indices of MySQL could help.
- laerus 4y agoPyPy is a JIT compiler not a "real compiler", it requires warm up time to start optimizing code on runtime.
- why_only_15 4y agoThey tried PyPy at the beginning and it was 2x slower. Plausibly it would be better with additional optimization, but it's not cut and dry.
- rwalle 4y agoDid you read the article?