Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
On 2/8/19 10:39 AM, Peng Yu wrote:
>> Yes: ocache_free.
>
> Could you please help explain what wdcache and wlcache actually do.
> Why is it essential to have them? Why not just alloc and free them
> without the caches? Thanks.
To avoid potentially-expensive calls to malloc and free, the same as
any cache.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/