Files
test/source
Campbell Barton cdec2b3d15 BGE Python API
Use 'const char *' rather then the C++ 'STR_String' type for the attribute identifier of python attributes.

Each attribute and method access from python was allocating and freeing the string.
A simple test with getting an attribute a loop shows this speeds up attribute lookups a bit over 2x.
2009-02-19 13:42:07 +00:00
..
2009-02-19 13:42:07 +00:00
2008-09-19 14:15:36 +00:00
2008-10-22 11:28:10 +00:00