Files
test2/source/blender/blenkernel
Bastien Montagne db4fe8e322 BlenRead: Add GHash-based search for already read linked IDs.
Ths commit adds a new `IDNameLibMap` to `Main`, used during file reading
to quickly find already read linked IDs.

Without that, search would use string-based search over list of linked
data, which becomes extremely slow and inneficient in cases where a lot
of IDs are linked from a same library. See also {T89194}.

Extrem-usecase reported in T89194 is now about 4 times faster in linked
data reading (about 2 times faster for the whole .blend file loading).

More normal cases (like Sprites studio production files) have barely
measurable speed improvements, a few percents at best.

NOTE: `main_idmap` API was extended to support insertion and removal of
IDs from the mapping, avoids having to re-create the whole thing several
time during libraries expansion in readcode.

Differential Revision: https://developer.blender.org/D11757
2021-07-27 14:53:49 +02:00
..
2021-07-07 13:42:46 +10:00
2021-07-16 11:48:54 +10:00
2020-10-01 14:29:45 +02:00
2020-12-15 17:19:55 +01:00
2021-06-18 10:50:19 +02:00
2021-06-22 10:54:50 -07:00
2021-07-07 13:42:46 +10:00
2021-07-02 12:15:29 +10:00
2021-06-10 12:15:59 +02:00