diff options
author | Raul Santos <raulsntos@gmail.com> | 2022-11-25 20:27:36 +0100 |
---|---|---|
committer | Raul Santos <raulsntos@gmail.com> | 2022-11-27 03:04:34 +0100 |
commit | 3ff181096ac247c1613b1a535726949af3b01b46 (patch) | |
tree | bb3cd623a0602a61bf1cfcb6da48e58540770ac1 /core/math/dynamic_bvh.h | |
parent | c7ceb94e372216b1b033d7c2ac26d5b7545c4dac (diff) |
C#: Remove VariantSpanDisposer and use constants in stackalloc
- Remove `VariantSpanDisposer`, no need to dispose of the Variant Spans
since we are now borrowing the Variants instead of copying them.
- Remove `VariantSpanExtensions.Cleared` that was only used so the
Span was initialized for `VariantSpanDisposer` to know what to dispose.
- Fix stackalloc Spans to use constant VarArgsSpanThreshold
and avoid bound checks.
Diffstat (limited to 'core/math/dynamic_bvh.h')
0 files changed, 0 insertions, 0 deletions