Blender Git Loki
Git Commits -> Revision 117c990
Revision 117c990 by Ankit Meel (soc-2020-io-performance) June 22, 2020, 19:01 (GMT) |
Optimisation: reserve memory early; use UNLIKELY Since we know the minimum number of UV vertices that a mesh can have, its memory is reserved in advance. `append` later in the loop simply checks whether there's sufficient space and edits the vector. Also, in the edge writer, the last iteration is very unlikely :). |
Commit Details:
Full Hash: 117c990540c63d7ef738539f8633b7e571db59a3
Parent Commit: d13a05a
Lines Changed: +4, -1
1 Modified Path:
/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter.cc (+4, -1) (Diff)