aboutsummaryrefslogtreecommitdiff
path: root/zencore/memory.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Function parameter case consistency with the rest of the code baseMartin Ridgers2022-01-051-9/+9
|
* Cleaned up some unnecessary commentsMartin Ridgers2022-01-051-2/+0
|
* aligned_alloc() states that size must be a multiple of alignmentMartin Ridgers2022-01-051-0/+3
|
* Misplaced #ifdef statement that should be an #ifMartin Ridgers2021-12-151-1/+1
|
* Merged main.Per Larsson2021-12-141-0/+1
|\
| * Merged mainMartin Ridgers2021-11-121-2/+2
| |\ | |/ |/|
| * Merged mainMartin Ridgers2021-11-011-2/+2
| |\
| * | Missing includeMartin Ridgers2021-10-291-0/+1
| | |
* | | Format fix.Per Larsson2021-11-111-2/+2
| |/ |/|
* | memory: Minor change to squelch static analysis warningsStefan Boberg2021-10-291-2/+2
|/
* zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵Stefan Boberg2021-10-151-0/+2
| | | | | | | | are used without an explicit definition Also fixed up various code to compile with this, by using ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_END macros Removed prewindows.h/postwindows.h since they are no longer to be used due to the above
* memory: Added experimental mimalloc path to AlignedAllocImpl/AlignedFreeImplStefan Boberg2021-09-301-4/+11
| | | | | | Also added similar path to IoBuffer Cannot be enabled at the moment as we end up passing pointers to std::free via some path so more work will be necessary
* It's not possible to compile out testsStefan Boberg2021-09-201-2/+5
| | | | Tests are now compiled in if `ZEN_WITH_TESTS=1`, and compiled out if not. Compiling tests out reduces the footprint of the resulting executables quite significantly.
* clang-format fixesStefan Boberg2021-09-161-2/+4
|
* Correct platform-specific _mm_malloc/aligned_alloc includesMartin Ridgers2021-09-151-1/+6
|
* Use std::aligned_alloc() instead of Intel's _mm_mallocMartin Ridgers2021-09-141-6/+31
|
* Adding zenservice codeStefan Boberg2021-05-111-0/+165