diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-01-30 00:30:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-30 00:30:02 +0100 |
commit | 584d00a01c4bcd359cc3e585dbcab5cada662348 (patch) | |
tree | 4105f4d31e743ac808de40386271b9f331f1dcb5 /src/script/common/c_content.cpp | |
parent | 3b4df956b171385f5c50be48718b900375f3040d (diff) | |
download | minetest-584d00a01c4bcd359cc3e585dbcab5cada662348.tar.gz minetest-584d00a01c4bcd359cc3e585dbcab5cada662348.tar.bz2 minetest-584d00a01c4bcd359cc3e585dbcab5cada662348.zip |
Add minetest.bulk_set_node call + optimize Environment::set_node call (#6958)
* Add minetest.bulk_set_node call + experimental mod unittest
* Optimize set_node function to prevent triple lookup on contentfeatures
Do only one lookup for old, and try to merge old and new lookup if node is same than previous node
* Add benchmark function + optimize vector population to have real results
Diffstat (limited to 'src/script/common/c_content.cpp')
0 files changed, 0 insertions, 0 deletions