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
HashMap<MessageId, Message> is now a common idiom in transforms for keeping track of a generated response that needs to replace the response to a certain request.
In order to optimize this I have a few ideas.
Easy idea
Replace the hasher with a faster hash, the default hash is dos resistant which we dont need since the MessageId's are purely internal.
This should actually be a pretty good win since we hash every incoming response
HashMap<MessageId, Message>
is now a common idiom in transforms for keeping track of a generated response that needs to replace the response to a certain request.In order to optimize this I have a few ideas.
Easy idea
Replace the hasher with a faster hash, the default hash is dos resistant which we dont need since the MessageId's are purely internal.
This should actually be a pretty good win since we hash every incoming response
Implemented here #1486
Crazy Idea
However, before attempting any of this we should wait and see if hashmap insert/remove ever appears while profiling.
The text was updated successfully, but these errors were encountered: