onflow / atree

Atree provides scalable arrays and scalable ordered maps.
https://onflow.org
Apache License 2.0
39 stars 13 forks source link

Update comment for NondeterministicFastCommit #412

Closed fxamacker closed 1 month ago

fxamacker commented 1 month ago

This PR updates comments to mention that encoded slabs are still deterministic, so array and map iterations will remain deterministic. Only the sequence of changed slabs getting committed is nondeterministic.

NondeterministicFastCommit is used by migration programs that don't require commit sequence of slabs to be deterministic while still preserving deterministic encoding of slab data (e.g. iteration of arrays and maps remain deterministic).

NondeterministicFastCommit was added by: