]> git.lizzy.rs Git - dragonfireclient.git/commit
item_entity: Cache collisionbox for use in on_step
authorsfan5 <sfan5@live.de>
Thu, 5 May 2022 18:49:57 +0000 (20:49 +0200)
committersfan5 <sfan5@live.de>
Sun, 8 May 2022 17:12:10 +0000 (19:12 +0200)
commit7fff9da71d2de352e0afea7482fc2e26534a51a4
treef076924c543a5eb5876bc52f78256a2a80000167
parentf128f4cba14aad9c7bbf46b79bb6147a49a3595b
item_entity: Cache collisionbox for use in on_step

I don't have absolute numbers but if calls to get_properties() take up
30%+ of on_step() execution time that's bound to matter.
builtin/game/item_entity.lua