Description
Since this is already brought up in #3470 (comment), I will just open a new issue for this.
To resolve the FIXME here,
Lines 198 to 199 in 052bdcb
we could do:
We should have allocate_bytes which allocates a byte slice, and that should use the cache. allocate_str can call that, and transmute the result to &str.