Merge remote-tracking branch 'origin/roc_alloc' into zig-list-set

This commit is contained in:
Folkert 2021-05-24 18:25:18 +02:00
commit 91b49ecf98
30 changed files with 940 additions and 631 deletions

View file

@ -183,7 +183,7 @@ pub fn list_prepend<'a, 'ctx, 'env>(
if elem_layout.safe_to_memcpy() {
// Copy the bytes from the original array into the new
// one we just malloc'd.
// one we just allocated
//
// TODO how do we decide when to do the small memcpy vs the normal one?
builder