mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Merge remote-tracking branch 'origin/roc_alloc' into zig-list-set
This commit is contained in:
commit
91b49ecf98
30 changed files with 940 additions and 631 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue