Name cache (#53)

Removed B3_BODY_NAME_LENGTH and B3_SHAPE_NAME_LENGTH.
Now using a name cache instead to save memory and make recordings more
universal.
This is a recording version bump.
This commit is contained in:
Erin Catto 2026-07-06 17:33:45 -07:00 • committed by GitHub
commit 52f1a254ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 759 additions and 824 deletions

View file

@ -62,9 +62,6 @@ b3DynamicTree b3DynamicTree_Create( int proxyCapacity )
tree.nodes = (b3TreeNode*)b3Alloc( tree.nodeCapacity * sizeof( b3TreeNode ) );
// Better to have 64 byte alignment
B3_VALIDATE( ( (uintptr_t)tree.nodes & 0x3F ) == 0 );
memset( tree.nodes, 0, tree.nodeCapacity * sizeof( b3TreeNode ) );
// Build a linked list for the free list.