Terms and conditions
There are no goods or services being sold on https://fasterthanli.me: however, donations are accepted, through Patreon and GitHub Sponsors, and may in the future be accepted directly through a payment processor.
Anyone who is currently subcribed to me on either Patreon or GitHub Sponsors is hereafter referred to as a "sponsor".
Sponsors may log in to this website using their Patreon or GitHub account and may, occasionally, read articles in "early access", before they are made available for everyone.
Sponsors may cancel their subscription at any time and for any reason, and obtain a refund for the unused duration of their monthly/annual subscription.
By cancelling their subscription, sponsors understand they immediately lose the "early access" functionalities.
You can e-mail contact@fasterthanli.me if you have questions.
Here's another article just for you:
Peeking inside a Rust enum
During a recent Rust Q&A Session on my twitch
channel, someone asked a question that
seemed simple: why are small string types, like SmartString
or SmolStr
,
the same size as String
, but small vec types, like SmallVec
, are larger
than Vec
?
Now I know I just used the adjective simple, but the truth of the matter is: to understand the question, we're going to need a little bit of background.