diff options
author | est31 <MTest31@outlook.com> | 2015-04-04 01:33:34 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-04-05 09:25:46 +0200 |
commit | 334e70455b7f8a4607fe99dc12710d48169113a6 (patch) | |
tree | bc1612e206a14067280ae3fcc11340b14d747314 /util/buildbot/toolchain_mingw64.cmake | |
parent | fedbbc8883c1c8252fd8b40023687d953f93d10c (diff) | |
download | minetest-334e70455b7f8a4607fe99dc12710d48169113a6.tar.gz minetest-334e70455b7f8a4607fe99dc12710d48169113a6.tar.bz2 minetest-334e70455b7f8a4607fe99dc12710d48169113a6.zip |
Crafting speedup
This greatly increases crafting performance, especially in worlds with many mods.
Approved by @kwolekr.
Introduces a hash-type-layered fall-through mechanism, where every layer specifies one hash algorithm,
and the "deeper the fall", the more collisions to expect for the algorithm. One Craft definition
only resides at one layer, which improves speed for lower layers (and a complete fail), due to most
craft definitions residing at high layers.
Due to the fall-through design, the undocumented behaviour that later craft recipes
override older ones had to be weaked up a bit, but craft recipes with the same hash and layer
will still override.
Diffstat (limited to 'util/buildbot/toolchain_mingw64.cmake')
0 files changed, 0 insertions, 0 deletions