<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Memory on Joe Bylund</title><link>http://jbylund.github.io/tags/memory/</link><description>Recent content in Memory on Joe Bylund</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Joe Bylund</copyright><lastBuildDate>Fri, 16 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="http://jbylund.github.io/tags/memory/index.xml" rel="self" type="application/rss+xml"/><item><title>96k Cards, One Copy of Each String: String Interning in the Rust Engine</title><link>http://jbylund.github.io/posts/00640_string-interning-rust/</link><pubDate>Fri, 16 Oct 2026 00:00:00 +0000</pubDate><guid>http://jbylund.github.io/posts/00640_string-interning-rust/</guid><description>The Rust card store held 96k printings, each owning its own heap-allocated strings — even though &amp;lsquo;Forest&amp;rsquo; appears 130 times with the same set name and &amp;lsquo;Shock&amp;rsquo; has the same oracle text across every printing. Replacing each unique string with a u32 ID cut the archived card data from 107 MB to 47 MB and the build-time heap from 205 MB to 145 MB.</description></item></channel></rss>