mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
time-bound memory-pool
O(1) realloc() for use with Lua. A standard malloc/free/realloc API is exposed for testing and other potential use-cases. The current configuration it's performs well for lua-metatables (regular calls to realloc() with varying tiny chunks ~1-50 bytes) For the use-case at hand it outperforms TLSF.
This commit is contained in:
parent
77ded21da9
commit
6cf5e989c0
3 changed files with 569 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ libpbd_sources = [
|
|||
'pool.cc',
|
||||
'property_list.cc',
|
||||
'pthread_utils.cc',
|
||||
'reallocpool.cc',
|
||||
'receiver.cc',
|
||||
'resource.cc',
|
||||
'search_path.cc',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue