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 run verybasic benchmarks for various string implementations. I arbitrarily chose is_empty for my "access" test to see how expensive it was to use the underlying &str and SmartString is ridicuously slow compared to the others.
Looks like SmartString hand implements is_empty rather than relying on the Deref. I'm assuming its some lack of inlining.
The text was updated successfully, but these errors were encountered:
I run very basic benchmarks for various string implementations. I arbitrarily chose
is_empty
for my "access" test to see how expensive it was to use the underlying&str
andSmartString
is ridicuously slow compared to the others.Looks like
SmartString
hand implementsis_empty
rather than relying on theDeref
. I'm assuming its some lack of inlining.The text was updated successfully, but these errors were encountered: