Christoph Lendenfeld
fb22ee6f0c
Refactor: BeztMap Array to C++ Vector
...
Instead of using `MEM_callocN` to create an array of `BeztMap`
use a `blender::Vector`. This has the advantage that we don't need to worry about
freeing the memory.
In addition to that it can be passed as a `Span`, removing the need to pass the
length as a separate argument.
Doing that also allows to use the C++ syntax for `for` loops.
This also gives a small performance boost
| Before | After |
| - | - |
| 288ms | 260ms |
Pull Request: https://projects.blender.org/blender/blender/pulls/120507
2024-04-11 11:47:15 +02:00
..
2024-02-19 15:59:59 +01:00
2024-04-01 11:22:03 -03:00
2024-04-01 11:22:03 -03:00
2024-04-09 16:44:34 +02:00
2024-03-09 23:28:03 +11:00
2024-02-19 15:59:59 +01:00
2024-03-28 01:30:38 +01:00
2024-02-19 15:59:59 +01:00
2024-03-09 23:28:03 +11:00
2024-04-11 11:47:15 +02:00
2024-03-09 23:28:03 +11:00
2024-03-28 01:30:38 +01:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-15 10:37:59 -03:00
2024-03-09 23:28:03 +11:00
2024-03-28 01:30:38 +01:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-02-19 15:59:59 +01:00
2024-03-28 01:30:38 +01:00
2024-03-22 20:54:09 +01:00
2024-03-09 23:28:03 +11:00
2024-02-19 15:59:59 +01:00
2024-02-19 15:59:59 +01:00
2024-02-19 15:59:59 +01:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-04-04 11:26:28 +11:00
2024-03-09 23:28:03 +11:00
2024-03-23 01:24:18 +01:00
2024-03-09 23:28:03 +11:00
2024-03-28 01:30:38 +01:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-28 01:30:38 +01:00
2024-03-09 23:28:03 +11:00
2023-08-04 22:47:29 -04:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-02-19 15:59:59 +01:00
2024-03-23 01:24:18 +01:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-02-19 15:59:59 +01:00
2024-03-27 13:17:24 +01:00
2024-03-09 16:57:12 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-02-19 15:59:59 +01:00
2024-03-29 16:37:36 +11:00
2024-03-23 01:24:18 +01:00
2024-03-09 23:28:03 +11:00
2024-03-09 23:28:03 +11:00
2024-03-25 13:35:52 +01:00
2024-03-09 23:28:03 +11:00
2023-07-13 17:59:52 +02:00
2024-04-04 10:55:10 +11:00
2024-03-28 18:57:57 -04:00
2024-03-28 18:57:57 -04:00
2024-03-28 18:57:57 -04:00
2024-03-28 18:57:57 -04:00
2024-03-28 18:57:57 -04:00
2024-04-07 11:23:55 -03:00
2024-03-28 18:57:57 -04:00
2024-02-19 15:59:59 +01:00
2024-04-01 11:01:19 -04:00
2024-03-27 13:17:24 +01:00
2024-04-07 10:26:21 -03:00
2024-03-27 13:17:24 +01:00