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
I see that Borsh claims that it gains performance by opting out of Serde compatibility and writing its own BorshSerialize/BorshDeserialize traits. My question is, what exactly is the bottleneck that Serde introduces that Borsh couldn't avoid? My understanding is that Serde should essentially inline away, so I'm curious which parts of it fail to do that.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everybody, lovely project!
I see that Borsh claims that it gains performance by opting out of Serde compatibility and writing its own
BorshSerialize
/BorshDeserialize
traits. My question is, what exactly is the bottleneck that Serde introduces that Borsh couldn't avoid? My understanding is that Serde should essentially inline away, so I'm curious which parts of it fail to do that.Beta Was this translation helpful? Give feedback.
All reactions