Login
You're viewing the y.diskcat.com public feed.
  • Oct 24, 2025, 5:22 PM

    After writing an awful lot of lines of #rustlang code, I have finally figured out when you make a bundle of characters a &str and when you make it a String... and deleted a whole bunch of .clone() calls from my code...

    It took a humorously long time to figure out but it's a fair trade-off for the benefits of treating character strings as a (relatively) heavy data type.

    💬 0🔄 0⭐ 0