Woot, this is fantastic news. Thanks, David, and thanks, Andrew, for the dynamic memory allocation, and @mulehollandaise for the abbreviation implementation.
I’ve been thinking about schemes for optimizing text storage space by identifying common substrings and had been failing to find the right search terms to turn up the prior art I felt sure must exist, so I appreciate the pointer to the paper! Guess I should’ve been following Highly optimized abbreviations computed efficiently.