ref: 1265f41334e895d9b52e80918a57c19c86d6e66d
parent: 2f5e8d6a9a76d8a51a5d33146913cde4530a6501
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Mar 21 18:48:37 EDT 2017
Add a comment.
--- a/lib/std/bytealloc.myr
+++ b/lib/std/bytealloc.myr
@@ -203,6 +203,7 @@
lock(memlck)
for var i = 0; i < cache.len; i++
endblk = ((cache[i].p : intptr) + (sz : intptr) : byte#)
+ /* try to merge with a saved block */
if cache[i].p == endp
cache[i].sz += sz
cache[i].p = p