Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2022-03-29 11:40:47 +0300
committerJacques Lucke <jacques@blender.org>2022-03-29 11:41:01 +0300
commita264dff4fa7dd0bb2e3c9abe805376b730d28c34 (patch)
treea9a0443ade5081f3fdc0304cae99ccdb6cc34567 /source/blender/makesdna/DNA_defs.h
parent29d9bb89ce34ead28a3e470edec77f8ab8d1a472 (diff)
BLI: optimize Map/Set/VectorSet.clear methods
Previously, those methods would destruct and reconstruct the data structure. While that was more simple in initial implementation, it has some downsides which are not resolved: * Already allocated memory is lost. So new memory would have to be allocated when the data structure is refilled. * The clearing process itself was slower because it did unnecessary work.
Diffstat (limited to 'source/blender/makesdna/DNA_defs.h')
0 files changed, 0 insertions, 0 deletions