File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11# tlsf: Two-Level Segregated Fit Memory Allocator
22
3- Two-Level Segregated Fit memory allocator implementation originally written by Matthew Conte (matt@baisoku.org )
4- and heavily modified by Daniel Mendler (mail@daniel-mendler.de ).
5- This code was based on the TLSF 1.4 spec and documentation found at http://www.gii.upv.es/tlsf/main/docs
6- It also leverages the TLSF 2.0 improvement to shrink the per-block overhead from 8 to 4 bytes.
3+ Two-Level Segregated Fit memory allocator implementation originally written by Matthew Conte
4+ and heavily modified by Daniel Mendler. This code was based on the TLSF 1.4 spec and
5+ documentation found at http://www.gii.upv.es/tlsf/main/docs .
76The library is released under the BSD license.
87
98Features
109--------
1110 * O(1) cost for malloc, free, realloc
12- * Extremely low overhead per allocation (one word)
11+ * Low overhead per allocation (one word)
1312 * Low overhead for the TLSF metadata (~ 4kB)
1413 * Low fragmentation
14+ * Very small - only ~ 500 lines of code
1515 * Compiles to only a few kB of code and data
1616 * Requests memory from the os on demand via callback
1717 * Not designed to be thread safe; the user must provide this
You can’t perform that action at this time.
0 commit comments