]> git.lizzy.rs Git - dragonfireclient.git/commit
Reduce size of ContentFeatures structure
authorsfan5 <sfan5@live.de>
Mon, 9 May 2022 18:59:28 +0000 (20:59 +0200)
committersfan5 <sfan5@live.de>
Thu, 26 May 2022 13:49:12 +0000 (15:49 +0200)
commit8b74257bf3cbb54e78614ac6aaaba79adf75cc8e
treebceabcb03441991743f5677a0dec62335931aa24
parent9a01581cdd3cb54750e9fe4a065aa435262d5225
Reduce size of ContentFeatures structure

On my system this is a reduction from 4664 to 3704 bytes.
This is not for the sake of saving RAM but ensuring
commonly used structures fit into caches better.
src/mapnode.cpp
src/nodedef.cpp
src/nodedef.h
src/script/common/c_content.cpp