replace Py_BuildValue("OOO", Py_None, Py_None, Py_None) with a function that makes...
authorCampbell Barton <ideasman42@gmail.com>
Sat, 16 May 2009 06:57:38 +0000 (06:57 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 16 May 2009 06:57:38 +0000 (06:57 +0000)
commitb063d2f6212d181a9a766b2e1138336a11519463
tree6881728a25b4506e4b23df9aa72cf82caca58370
parent006ad4aaacc36a7e7fd1a8cd96e60a5e74cbfedd
replace Py_BuildValue("OOO", Py_None, Py_None, Py_None) with a function that makes and fills the tuple,
since some scripts call rayCast many times in a single logic tick,
contrived benchmark shows this to be about 20% faster.
source/gameengine/Ketsji/KX_GameObject.cpp