3 ms·
Not without wasting a lot of space depending on the difference between average size of string vs maximum size of string.
by z92 12y ago
Not without wasting a lot of space depending on the difference between average size of string vs maximum size of string.
- a8da6b0c91d 12y agoYou can use a string class like the one in Folly that decays from a fixed array to heap allocated space if the string gets too long.
- logicchains 12y agoWe generally know the maximum string sizes for each property, and they're pretty small, so this wouldn't have been a problem.