It does not implement many of the other memory functions, such as realloc .
它没有实现很多其他的内存函数,比如realloc 。
The malloc , free and realloc routines should be as fast as possible in the average case.
malloc free和realloc例程在平均情况下应该尽可能的快。
For the oddest example, some early versions of Unix allocators allowed programmers to realloc memory that had already been freed.
举个最奇怪的例子,一些早期版本的Unix分配器允许程序员realloc已经被释放了的内存。
If we are using a simple buffer, we either have to extend it with realloc or equivalent, or copy the whole thing interpolating the replacement.
如果我们使用一个简单的内存区,我们要么必须用realloc或其它等效方法来扩展它,要么拷贝内插有替换的整体。
Because the basic data structures in the allocator permit coalescing at any time, in any of malloc, free, or realloc, corresponding caching heuristics are easy to apply.
因为分配器中的基本数据结构允许在malloc,free或realloc的任何一个中任意时刻进行合并,相应的高速缓冲探索都很容易应用。
Because the basic data structures in the allocator permit coalescing at any time, in any of malloc, free, or realloc, corresponding caching heuristics are easy to apply.
因为分配器中的基本数据结构允许在malloc,free或realloc的任何一个中任意时刻进行合并,相应的高速缓冲探索都很容易应用。
应用推荐