summaryrefslogtreecommitdiff
path: root/core/templates/paged_array.h
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2020-12-23 13:52:58 -0300
committerreduz <reduzio@gmail.com>2020-12-23 19:31:30 -0300
commit83058597cf02255d7c0359a96f125010f63deff7 (patch)
treef3eb989587e98c17f5b0c669af45993f893c8771 /core/templates/paged_array.h
parentc4c211c3b7608f79457f16bb42ad8839a9cdcf5a (diff)
Replace Octree by DynamicBVH in cull code
-Much greater pairing/unpairing performance -For now, using it for culling too, but this will change in a couple of days. -Added a paged allocator, to efficiently alloc/free some types of objects.
Diffstat (limited to 'core/templates/paged_array.h')
-rw-r--r--core/templates/paged_array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/paged_array.h b/core/templates/paged_array.h
index 71183c4ad8..aaf3893715 100644
--- a/core/templates/paged_array.h
+++ b/core/templates/paged_array.h
@@ -329,7 +329,7 @@ public:
}
}
- uint64_t size() const {
+ _FORCE_INLINE_ uint64_t size() const {
return count;
}