Commit Graph

36 Commits

Author SHA1 Message Date
57cbacda15 fixed warnings 2026-06-10 07:59:16 +02:00
e8b919f576 Revert "added totalsizeoccupied stat"
This reverts commit 46fb0e20c6.
2026-06-10 07:55:08 +02:00
46fb0e20c6 added totalsizeoccupied stat 2026-06-10 07:32:37 +02:00
e507521bf8 tweaked growth rate 2026-06-10 07:19:33 +02:00
8a148cf489 wrong return type 2026-06-10 04:57:28 +02:00
da572cc718 changed the way allocation sizes are calculated (☠) 2026-06-10 04:10:12 +02:00
b68c56580e comments 2026-06-10 03:47:24 +02:00
fa3fbbc68d insane performance improvement(??) 2026-06-10 03:33:48 +02:00
e17def2790 made all define configs configurable in runtime per heap 2026-06-10 01:09:36 +02:00
9dd2ebaa5a added ability to merge heaps 2026-06-09 23:48:56 +02:00
d2cd90fbd7 changed all things to function ptr 2026-06-09 21:47:40 +02:00
9d890e794b Update minimal_heap_implementation.inl 2026-06-09 20:41:08 +02:00
847dfe1484 rename and fixed missing unlock 2026-06-09 20:37:30 +02:00
36159288d5 tweaked heuristics 2026-06-09 20:10:45 +02:00
2150fcb0a2 changed the order areas are traversed 2026-06-09 19:41:06 +02:00
3582e21a84 tweaked heuristics 2026-06-09 19:25:07 +02:00
b6bc80cf22 fixed last successful allocation area not being reset when destroying the area 2026-06-09 04:09:01 +02:00
eaddbd31fd added first heuristic 2026-06-09 03:30:38 +02:00
1501e2e65d changend minimal payload size 2026-06-09 01:42:21 +02:00
202938ca07 Update minimal_heap_implementation.inl 2026-06-09 01:37:53 +02:00
63a447d1c4 moved segment/payload hopping to seperate functions 2026-06-09 00:39:10 +02:00
54b61085a8 Update minimal_heap_implementation.inl 2026-06-08 21:54:59 +02:00
d3aa81fcea Update minimal_heap_implementation.inl 2026-06-08 21:54:19 +02:00
dd92501753 outsourced lifetime of MIHP_Heap, gave heap ptr as identifier to platform functions 2026-06-08 21:52:22 +02:00
ad14fa7c74 merge 2026-06-08 20:35:01 +02:00
3c46dfa855 Merge branch 'main' of https://github.com/ToyB-Chan/minimal-heap 2026-06-08 20:34:34 +02:00
468378e88e changed param to be non optional 2026-06-08 20:33:48 +02:00
d0e6bccafe platform can now properly return larger amounts of memory as requested 2026-06-08 20:29:45 +02:00
af70cf0648 Update minimal_heap_implementation.inl 2026-06-08 19:49:18 +02:00
f68b37b245 added double free fault 2026-06-08 19:48:22 +02:00
69c318ed71 added get minimal payload size function 2026-06-08 19:37:59 +02:00
6ea22a16e3 more option validation 2026-06-08 19:28:38 +02:00
7095e2abc4 removed TotalOccupiedSize stats because of inaccuracy 2026-06-08 19:26:21 +02:00
174be6a022 fixed when compacting segment on realloc, the new segment not getting merged with the following empty segment 2026-06-08 19:20:58 +02:00
ec12d7c7d7 Update minimal_heap_implementation.inl 2026-06-08 10:45:57 +02:00
546ad3843c changed to semi single header 2026-06-08 09:47:44 +02:00