[Bf-blender-cvs] CVS commit: blender/source/blender/blenloader/intern readfile.c
Ton Roosendaal
ton at blender.org
Thu Dec 15 19:42:02 CET 2005
ton (Ton Roosendaal) 2005/12/15 19:42:02 CET
Modified files: (Branch: orange)
blender/source/blender/blenloader/intern readfile.c
Log:
Orange:
So... now I understand file reading and libraries again, I couldn't leave
it to do a nice optimize step. This commit introduces bsearch() for finding
the elements in the pointer table, while reconstructing links. Tests reveil
a speedup of a factor 2-5 on complex scenes. And since undo uses same
system, quite nice in general!
(Note; speedup sometimes can't be noticed, when a lot of subsurfs or other
displaylists need to be generated.)
Revision Changes Path
1.214.2.16 +35 -14 blender/source/blender/blenloader/intern/readfile.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenloader/intern/readfile.c.diff?r1=1.214.2.15&r2=1.214.2.16&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list