Menu ▾ ▴

#18 Lock free queue: reuse the emptied read queue

unread
nobody
lockfree (1)
2026-09-27
2026-09-27
No

lockfree/u_dzMultiWriteSingleReadLockFreeQueue.pas frees its read queue when it runs empty. The TODO: "Maybe keep the queue around for using it as the next new queue? Could save a bit on memory allocation overhead."

From the TODO scan in issue 12 of dzlib's ISSUES.md.

Discussion


Log in to post a comment.