3 ms·
> Arguably, "how many bytes does this string occupy in memory/on disk (e.g. in class files)" is a pretty useful thing to be able to ask. Sure. On disk those st
by tialaramex 3y ago
> Arguably, "how many bytes does this string occupy in memory/on disk (e.g. in class files)" is a pretty useful thing to be able to ask.
Sure. On disk those strings are (modified) UTF-8 of course, is that what you meant ?
- lxgr 3y agoOn disk yes, at runtime it's still UTF-16, I believe. This is still relevant for many databases as well, as far as I remember.