3
votes
Spatial radius search in Boid simulation
Nice problem!
I gotta tell ya, QuadTrees is definitely the appropriate datastructure.
And it's just not that hard.
Let coord be the bit interleaving of ...
3
votes
Spatial radius search in Boid simulation
The slowness comes from drawing
Your query() function is actually quite efficient. The problem comes from drawing the boids. If you remove the calls to ...
2
votes
Optimizing __getitem__ for a bioinformatics script in Python
new to the area and I've been learning while developing
Great, welcome!
Software is almost as interesting as biology.
And it's much less messy.
measurements
much longer for larger files
“When you ...
2
votes
Pentomino solver in Python
Kudos on tackling such an interesting problem!
design of Public API
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
performance × 9012python × 2311
java × 1274
c++ × 1057
algorithm × 1000
c# × 873
javascript × 837
python-3.x × 637
programming-challenge × 636
beginner × 612
c × 530
strings × 373
array × 325
php × 296
vba × 275
excel × 275
sql × 257
numpy × 241
primes × 214
jquery × 207
matrix × 182
python-2.x × 179
image × 177
multithreading × 175
recursion × 157