summaryrefslogtreecommitdiff
path: root/src/memory.hh
AgeCommit message (Collapse)Author
2024-08-15Remove some more unnecessary includesMaxime Coste
2023-10-25Remove redundant comparison operatorsMaxime Coste
Since C++20 (a != b) get automatically rewritten as !(a == b) if the != operator does not exist.
2022-10-19Remove unused History MemoryDomainMaxime Coste
2021-07-26always inline custom operator new/delete to avoid spurious warningsMaxime Coste
GCC 11 warns incorrectly about mismatched new/delete because it auto inlines one but not the other, force inline those function to fix that.
2021-07-20Add missing new/delete overload in UseMemoryDomainMaxime Coste
2019-03-21Track more memory statisticsMaxime Coste
2018-10-14maintain a list of valid ranges for region highlightingMaxime Coste
This should greatly reduce memory usage by only caching matches for ranges that needs to be highlighted, in the case where multiple regions are nested, this means only the topmost region needs to parse and cache the whole buffer, other regions highlighter will only ensure the lines for the ranges they are called up are cached. Fixes #2454
2017-11-01Regex: Introduce a Regex memory domain to track usage separatelyMaxime Coste
2017-08-12Remove redundant types inside Kakoune::AllocatorMaxime Coste
2017-05-26Modernize the way we compute memory domains from typeMaxime Coste
Use a constexpr function instead of a template type
2016-11-28Add more memory domains to certain dataMaxime Coste
2016-09-04Use proper buffering when reading remote messagesMaxime Coste
Messages now have their size in a header, along with their type and are only executed once fully received. We dont block anymore while trying to read a full message.
2015-06-26Always inline Allocator::construct/destroyMaxime Coste
2015-01-28Add history memory domainMaxime Coste
2015-01-21Add Display memory domainMaxime Coste
2015-01-21Try to fix travis compilation errorsMaxime Coste
2015-01-18Add helper for overloading operator new/deleteMaxime Coste
2015-01-16Add support for per type default memory domainMaxime Coste
2015-01-15Replace InternedStrings with SharedString, shared_ptr basedMaxime Coste
2015-01-14Even more memory trackingMaxime Coste
2015-01-14Add missing cast to void* in placement newMaxime Coste
2015-01-13Add missing <new> includeMaxime Coste
2015-01-13Fix compatibility with gcc 4.8Maxime Coste
2015-01-12Add missing cstddef include for ptrdiff_tMaxime Coste
2015-01-12refactor slighly memory domain handlingMaxime Coste
2015-01-12Yet more trackingMaxime Coste
2015-01-12Some more memory trackingMaxime Coste
2015-01-09Track String memory allocationsMaxime Coste
2015-01-07Add initial memory domain allocation tracking supportMaxime Coste