L. David Baron wrote:

our string APIs (a bit about what the internal string APIs do and why and how 
to use them)
I don't think we currently return terminated strings for string tail or 1-arg substring of a terminated string, I'm sure we could but there doesn't seem to be a big demand for it. One workaround for Substring(foo, N) is to directly construct an nsDependentString(foo, N).

I had also pondered as to whether we should use literal strings for static atoms; I think they're currently some sort of dummy shared buffer.

--
Warning: May contain traces of nuts.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to