Speedup: new OldNewMap implementation for file loading
authorJacques Lucke <mail@jlucke.com>
Thu, 13 Dec 2018 14:29:54 +0000 (15:29 +0100)
committerJacques Lucke <mail@jlucke.com>
Thu, 13 Dec 2018 14:31:30 +0000 (15:31 +0100)
commit33993c056a557d8c51ff9d01ff3666ab81d40c29
tree4067842413fe4f7aa243cb6215bdb62f4de3d1f4
parentfdab9a8ed132a4f2191e0b80ee09ed4409efae6d
Speedup: new OldNewMap implementation for file loading

In production files that use a lot of linking I measured loading speedups between 5% and 18%. In files that use less linking the speedup might not be noticeable at all, but it should not be slower.

Reviewer: brecht

Differential Revision: https://developer.blender.org/D4038
source/blender/blenloader/intern/readfile.c