Bastian Köcher
07daa525b9
Allocator improvements/clean ups ( #4838 )
...
* FreeingBumpAllocator: Initialize the heads to `u32::max_value()`
`self.heads` can point to an element with the index `0` in the heap.
This would make the allocator fail to reuse this element.
* Simplify the `PREFIX_SIZE` handling
2020-02-06 16:08:11 +01:00
..
2020-02-06 16:08:11 +01:00
2020-01-31 11:46:05 +01:00
2020-02-05 17:26:48 +01:00
2020-02-03 20:19:33 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 11:57:13 +01:00
2020-02-04 16:56:50 +01:00
2020-02-05 17:26:07 +01:00
2020-02-04 16:56:50 +01:00
2020-01-29 11:57:13 +01:00
2020-01-16 13:58:37 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 11:57:13 +01:00
2020-02-04 16:56:50 +01:00
2020-02-05 17:26:48 +01:00
2020-01-30 11:40:08 +01:00
2020-01-24 15:20:45 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 13:27:23 +01:00
2020-01-29 11:57:13 +01:00
2020-01-31 19:01:32 +00:00
2020-02-06 14:26:41 +01:00
2020-02-05 17:26:48 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 11:57:13 +01:00
2020-01-10 10:48:32 +01:00
2020-01-29 11:57:13 +01:00
2020-02-04 16:56:50 +01:00
2020-02-05 17:26:48 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 11:57:13 +01:00
2020-01-17 15:47:21 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 16:24:40 +01:00