summaryrefslogtreecommitdiffstats
path: root/src/AllocationPool.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-02-20Limit the size of cListAllocationPool's free listpeterbell101-18/+28
2018-07-23Optimise chunk set (#4260)peterbell101-6/+33
Closes #1244 Initially I was just going to add the cChunkData to cSetChunkData but profiling revealed that the copying wasn't even the biggest slowdown. Much more time was being spent in cChunk::CreateBlockEntities and cChunk::WakeUpSimulators than was in memcpy so I've made those significantly faster as well. Optimisations performed: * cSetChunkData now stores blocks in a cChunkData object * cChunkData objects can now perform moves even if they are using different pools * cChunk::CreateBlockEntities now iterates in the correct order and only over present chunk sections * Similarly for cChunk::WakeUpSimulators * cSetChunkData::CalculateHeightMap now shortcuts to the highest present chunk section before checking blocks directly
2017-08-03Remove double includes part 2 (#3890)peterbell101-2/+0
2017-06-19MSVC Debug builds: Added operator new redirection to provide more info. (#3781)Mattes D1-0/+26
2017-05-21Clang 5.0 fixesLukas Pioch1-1/+1
- Added override keyword - Removed inherited member variables
2016-02-05Bulk clearing of whitespaceLogicParrot1-10/+10
2015-07-31Unified the doxy-comment format.Mattes D1-58/+71
2015-05-19Make -Werror disabling file onlytycho1-3/+3
Ad fix a load of warnings
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-08-28Final template keyword style fix.Mattes D1-2/+2
2014-07-17Fixed basic whitespace problems.madmaxoft1-2/+6
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
2014-06-16Merge branch 'master' of github.com:mc-server/MCServerTycho1-0/+109
2014-06-14Changed names of callbacksTycho1-7/+7
2014-06-14Removed spacesTycho1-2/+2
2014-06-14Documented starvation callbacksTycho1-0/+7
2014-06-14Documented cAllocationPoolTycho1-0/+5
2014-06-14Added generic Allocation Pool InterfaceTycho1-18/+28
2014-06-14fixed spacesTycho1-5/+6
2014-06-14fixed spacesTycho1-1/+1
2014-06-14fixed compileTycho1-1/+1
2014-06-14Fill with buffer on startupTycho1-0/+10
2014-06-14Fixed commentsTycho1-4/+4
2014-05-25Fixed bug in freeing NULL pointersTycho1-13/+15
2014-05-23Implemented Allocation Pool use by cChunkDataTycho1-11/+28
2014-05-23Use placement new to initalise objectsTycho1-2/+5
2014-05-21Added callback for stopping starvation modeTycho1-0/+4
2014-05-21Implemented Allocation PoolTycho1-0/+50