tomtomwombat / cold-string
PublicA 1-word (8-byte) sized representation of immutable UTF-8 strings. In-lines up to 8 bytes. Optimized for memory usage and struct packing.
Cold-string provides a compact, memory-efficient way to store unchanging text strings that works like regular strings but saves space by embedding short ones directly.
How It Works
You hear about a clever way to store text that uses way less space, especially for short words or notes.
You bring this space-saving text holder into your project to handle lots of messages or labels.
You create text items with it, and short ones fit right inside without needing extra room.
You check how much space it takes – tiny for small texts, much better than usual.
Your bundles of info now pack perfectly tight, no gaps or waste around the texts.
Your creation handles heaps of text smoothly, using less memory and feeling snappier.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.