You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, MTrie.UnsafeRead reads registers in batch, so a read for a single path goes through the unnecessary steps of path partitioning and recursive calls.
Updates epic #1744 because optimization would also improve memory use.
The Proposed Solution
Create a new read function to read register for a single path. Existing read function can use the new read function to skip unnecessary steps when len(paths) == 1.
delta.View can also be optimized by using this new read function.
The text was updated successfully, but these errors were encountered:
Problem
Currently,
MTrie.UnsafeRead
reads registers in batch, so a read for a single path goes through the unnecessary steps of path partitioning and recursive calls.Updates epic #1744 because optimization would also improve memory use.
The Proposed Solution
Create a new read function to read register for a single path. Existing read function can use the new read function to skip unnecessary steps when
len(paths) == 1
.delta.View
can also be optimized by using this new read function.The text was updated successfully, but these errors were encountered: