diff options
author | Jacques Lucke <jacques@blender.org> | 2022-04-04 12:57:39 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-04-04 12:57:58 +0300 |
commit | ee3f71d747e3ffd5091335437d52b3ec518d7b67 (patch) | |
tree | c32ef6ba1260ec7864a484301083d924c6b9a696 /source/blender/io/wavefront_obj/importer/obj_import_mtl.cc | |
parent | 992d51bbcfef73bc577e3161739b1b16540dad00 (diff) |
Functions: allow for better compiler optimization
This extracts the inner loops into a separate function.
There are two main reasons for this:
* Allows using `__restrict` to indicate that no other parameter
aliases with the output array. This allows for better optimization.
* Makes it easier to search for the generated assembly code,
especially with the `BLI_NOINLINE`.
Diffstat (limited to 'source/blender/io/wavefront_obj/importer/obj_import_mtl.cc')
0 files changed, 0 insertions, 0 deletions