The string cache used by ustr pre-allocates 12 MB, even if we're only using it for a few font family names. We can therefore manage our own set of leaked strings to reduce memory usage by 12 MB. |
||
|---|---|---|
| .. | ||
| mod.rs | ||
The string cache used by ustr pre-allocates 12 MB, even if we're only using it for a few font family names. We can therefore manage our own set of leaked strings to reduce memory usage by 12 MB. |
||
|---|---|---|
| .. | ||
| mod.rs | ||