[Bf-python] obj importer 4x speedup

Campbell Barton cbarton at metavr.com
Thu Sep 9 14:20:22 CEST 2004


Hi. I have used eval(somestring) in my obj importer- This slow and not a 
good idea
I replaced eval() with float() and int() both wich can handle strings (I 
didnt know that)
- Cam
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: obj_import.py
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20040909/9c9661f3/attachment.ksh>


More information about the Bf-python mailing list