[Bf-python] Obj Import speed doubled
Campbell J Barton
cbarton at metavr.com
Tue Nov 30 00:06:40 CET 2004
Hi, I modified the obj importer simply to use .extend() instead of .append()
(where possible)
And ls.pop(x) rather then ls.remove(ls[x])
A fairly large obj- import time comparison before and after these small
changes.
obj import time: 2.80905485153
obj import time: 1.38487005234 - append/remove replaced with extend/pop.
This version is better then the one distributed with 2.35- having a
better way of generating unique names, fixed UV import bug (rarely
appeared) as well as the obvious speedups.
--
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: obj_import.py
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20041129/7ade1415/attachment.ksh>
More information about the Bf-python
mailing list