-
Couldn't load subscription status.
- Fork 15
Open
Labels
Description
Updates onflow/cadence#2626
Issue To Be Solved
Currently, there is no Atree function to swap two elements of an Array, so Cadence needs to do a remove and insert which can be inefficient.
Thanks @bluesign for bringing this up at onflow/cadence#2626! 👍
Suggested Solution
Add Array.Swap() to swap two elements in place.
SupunSbluesign