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
The current parallel hashing implementation hashes each 16 nodes in parallel and recursively.
This can cause memory pressure on the stack since, although cheap, goroutines are not totally free.
The hashing should be changed to have a limited parallelism, ideally set to the number of CPU cores available.
We should also prioritize parallel hashing of branches to have less context switching and longer lasting goroutines.
Task summary
The current parallel hashing implementation hashes each 16 nodes in parallel and recursively.
This can cause memory pressure on the stack since, although cheap, goroutines are not totally free.
The hashing should be changed to have a limited parallelism, ideally set to the number of CPU cores available.
We should also prioritize parallel hashing of branches to have less context switching and longer lasting goroutines.
Progress
lib/trie
#2009The text was updated successfully, but these errors were encountered: