RSSAmplifier

Swatinem · May 3, 2024

More fun with SSO, part 2

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Recently I was taking a look at benchmarking various approaches to small string optimization, and you can read up on that here . As a small recap, I want to turn a &[dyn Display] into a Vec<String> , or similar type, as efficiently as possible. Even before writing that post, I have forked the smol_str crate and rewrote its internals around a hand crafted binary layout, using way too much unsafe…

Read on swatinem.de

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.