59 Commits

Author SHA1 Message Date
2289ec8644 more asserts 2026-06-14 04:17:03 +02:00
9f42297bf2 Update minimal_heap_implementation.inl 2026-06-14 03:04:02 +02:00
92eb9456bc a 2026-06-13 23:43:20 +02:00
947ea6698d changed memset signature and added freefillvalue 2026-06-13 23:33:41 +02:00
164493cdac Update minimal_heap_implementation.inl 2026-06-13 23:21:18 +02:00
5776f4166e added error results 2026-06-13 23:15:58 +02:00
a59fffba0a removed inline and typo 2026-06-13 20:37:20 +02:00
623fca197c typo 2026-06-13 20:34:23 +02:00
58fef4fc9e fixed allocations with sizes smaller than the max area limited but bigger than the max payload size never return 2026-06-13 20:23:52 +02:00
38bbd53e7e Update minimal_heap_implementation.inl 2026-06-13 07:38:53 +02:00
aaa9a82167 Update minimal_heap_implementation.inl 2026-06-13 00:52:32 +02:00
9a65abf8bf 32 bit integration 2026-06-13 00:23:38 +02:00
128d0e6a8d Update minimal_heap_implementation.inl 2026-06-11 16:30:04 +02:00
b3e366b1f8 renaming 2026-06-11 16:03:51 +02:00
8b033bb7d3 made passed heap to platform functions opaque as its not always safe to dereference 2026-06-11 15:59:28 +02:00
717966dea3 added max heap size 2026-06-11 15:52:01 +02:00
e46565edbf fixed reallocate not preserving custom metadata 2026-06-11 15:49:33 +02:00
0a582ffebc renaming 2026-06-11 05:38:45 +02:00
ef9ec5de2a fixed some bugs 2026-06-11 05:27:06 +02:00
4dc806403f fixed wrong return type 2026-06-11 01:54:43 +02:00
273868ee63 added custom metadata and heapwalk function 2026-06-11 01:51:58 +02:00
e75b551159 uintptr_t 2026-06-10 22:41:41 +02:00
17df4f1f85 changed the way areas are inserted and deleted, making heap compact itself automatically after massive frees 2026-06-10 08:15:53 +02:00
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