aboutsummaryrefslogtreecommitdiff
path: root/src/util/pointer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/pointer.h')
0 files changed, 0 insertions, 0 deletions
:emergeSector(a,b) * for range-based loops * migrate a dirs[7] table to direction tables * remove various old unused function * Modernize various files (src/m*) (#6267)Loïc Blot2017-08-18 | | | | | | | | | | | | * Modernize various files (src/m*) * range-based for loops * code style * C++ headers instead of C headers * Default operators * empty function Thanks to clang-tidy * Fix a warning introduced by 4eb59aeeb2f2b535f4eb2a1608189bb03098454eLoïc Blot2017-07-27 | * Rename previous_was_found to previous_existsLoic Blot2017-07-27 | * MapBlock::actuallyUpdateDayNightDiff(): little performance optimizationLoic Blot2017-07-27 | | | | don't check isLightDayNightEq if checked on previous node * Massive performance improvement on correctBlockNodeIdsLoic Blot2017-07-27 | | | | | | correctBlockNodeIds does 2 lookups for each loaded node, one to translate DB ID to name and a second to translate name to real ID. Name to real ID is very consumming if done on every node. As mapblocks are in most cases composed of many identical adjacent nodes, cache previous source and destination id and use them on the next node to prevent any lookup on those maps. This reduce the function load from 15% of my CPU usage to ~0.7%, on the test, calls was reduced from 2.5M lookups to 42k lookups, it's a huge performance gain * Remove unused Map::getDayNightDiff + fix one undefined variable in mapblock.cppLoic Blot2017-07-26 | * Very little performance fix on correctBlockNodeIdsLoic Blot2017-07-18 | | | | + C++11 codestyle * Fix 1 more warning reported by GCCLoic Blot2017-06-20 | | | | We don't write in correct buffer size in analyze_block * Cpp11 initializers 2 (#5999)Loïc Blot2017-06-17 | | | | | | | | | | * C++11 patchset 10: continue cleanup on constructors * Drop obsolete bool MainMenuData::enable_public (setting is called with cURL in server loop) * More classes cleanup * More classes cleanup + change NULL tests to boolean tests * Remove superfluous pointer null checksQrchackOfficial2017-06-10 | * Revert "Remove deprecated code segments (#5891)"Loïc Blot2017-06-06