Makes updateAt much faster. Benchmarks are showing a greater than 90% decrease in runtime over the current implementation across the board. Additionally, since updateAt is now fast, I changed setAt to just call updateAt. The old implementation of setAt is similar to the new implementation of updateAt, so performance there is approximately the same.
Makes
updateAt
much faster. Benchmarks are showing a greater than 90% decrease in runtime over the current implementation across the board. Additionally, sinceupdateAt
is now fast, I changedsetAt
to just callupdateAt
. The old implementation ofsetAt
is similar to the new implementation ofupdateAt
, so performance there is approximately the same.