Commit 7dc718c
committed
feat: Optimize sort by
The `MergeSort` function is in the hot path.
The slice (x[1..]) operation is not optimized in Dafny.
This optimizes this function by turning the recursive slice
into a loop over an index into the seq.
Further, a bounded integer version is also included.
It also limits the total amount of data copied.MergeSort
1 parent 1d836c9 commit 7dc718c
File tree
2 files changed
+529
-2
lines changed- DynamoDbEncryption/dafny/StructuredEncryption/src
2 files changed
+529
-2
lines changed
0 commit comments