mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
add List.releaseExcessCapacity builtin
This commit is contained in:
parent
40b50b0091
commit
1319ba4844
13 changed files with 177 additions and 3 deletions
|
@ -35,6 +35,7 @@ pub enum LowLevel {
|
|||
ListLen,
|
||||
ListWithCapacity,
|
||||
ListReserve,
|
||||
ListReleaseExcessCapacity,
|
||||
ListAppendUnsafe,
|
||||
ListGetUnsafe,
|
||||
ListReplaceUnsafe,
|
||||
|
@ -262,6 +263,7 @@ map_symbol_to_lowlevel! {
|
|||
ListGetCapacity <= LIST_CAPACITY,
|
||||
ListWithCapacity <= LIST_WITH_CAPACITY,
|
||||
ListReserve <= LIST_RESERVE,
|
||||
ListReleaseExcessCapacity <= LIST_RELEASE_EXCESS_CAPACITY,
|
||||
ListIsUnique <= LIST_IS_UNIQUE,
|
||||
ListAppendUnsafe <= LIST_APPEND_UNSAFE,
|
||||
ListPrepend <= LIST_PREPEND,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue