mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Improved Zend Memory Manager to guarantee reasonable time for worst cases of best-fit free block searching algorithm.
This commit is contained in:
parent
13aac95bfc
commit
d514bf27a6
5 changed files with 673 additions and 338 deletions
|
@ -228,8 +228,9 @@ struct _zend_mm_storage {
|
|||
void *data;
|
||||
};
|
||||
|
||||
ZEND_API zend_mm_heap *zend_mm_startup_ex(const zend_mm_mem_handlers *handlers, size_t block_size, void *params);
|
||||
ZEND_API zend_mm_heap *zend_mm_startup_ex(const zend_mm_mem_handlers *handlers, size_t block_size, size_t reserve_size, int internal, void *params);
|
||||
ZEND_API zend_mm_heap *zend_mm_set_heap(zend_mm_heap *new_heap TSRMLS_DC);
|
||||
ZEND_API zend_mm_storage *zend_mm_get_storage(zend_mm_heap *heap);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue