Squeeze a little bit more performance out of the sampling code by
authorLukas Tönne <lukas.toenne@gmail.com>
Mon, 15 Dec 2014 11:08:08 +0000 (12:08 +0100)
committerLukas Tönne <lukas.toenne@gmail.com>
Mon, 15 Dec 2014 11:08:08 +0000 (12:08 +0100)
commit01e6f1b638102541c737657c4098d41b0b6f34a6
treefc922d85438798b9371a76cb94770b6239aecf39
parent9a0fbd0fdfaf7446288b68f4d414ff8d88c9dce8
Squeeze a little bit more performance out of the sampling code by
"pre-allocating" grid lists.

This is about as far as optimization can go in plain python (avoiding
class __init__ methods could help further). Eventually this code should
be implemented in C/C++ though, dealing with large arrays is not pythons
strong point ...
object_physics_meadow/hierarchical_dart_throw.py