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 c...@case.edu http://tiswww.cwru.edu/~chet/