Increase performance of getLight() by at least 2x
authorCraig Robbins <kde.psych@gmail.com>
Tue, 9 Dec 2014 14:45:07 +0000 (00:45 +1000)
committerCraig Robbins <kde.psych@gmail.com>
Tue, 9 Dec 2014 14:52:02 +0000 (00:52 +1000)
commitc5f6f9f77ac1df4b223649fcaca9a66333aa8786
tree87c5efb5da53fb26c1cfca4ab717258ab12ad897
parenta1ea017b512ea8f99c40dca52a57ff58054c5acc
Increase performance of getLight() by at least 2x

Leads to the following increases:
getSmoothLight() approx.     40% increase
getTileInfo() approx.        25% increase
MapBlockMesh::MapBlockMesh() 25-30%
src/mapblock_mesh.cpp
src/mapnode.cpp
src/mapnode.h