Comment 5 for bug 1440186

Revision history for this message
Andrew Johnson (anj) wrote :

Could we make the struct cacheElem_t contain the size_t followed by a union of pNext and buf, since we never need both at once. This saves the extra storage and padding for the buf member, hmm, but it would slightly complicate the calloc calculation which needs to be sizeof(cacheElem_t) - sizeof(void*) + _readNotifyCacheSize.