jridgewell
Joined 7 years ago
Karma
64
Submissions
22
Member since
May 12
Joined 7 years ago
A small example of code that uses this is https://github.com/vercel/turbo/blob/main/crates/turbo-tasks..., which defines how we can load a `.env` file using FS read caching, cached `read` and `read_all` functions, etc.
Edit: @steventey has an excellent video at https://twitter.com/steventey/status/1565739260312952833
[Preview]: https://docs.google.com/document/d/12Gmy2s4Nmkw6VDv2B6b5K1DL...
[1]: https://support.apple.com/guide/mac-help/open-a-mac-app-from...
> truncate a string without splitting a codepoint in O(1) is still useful
Agreed!