This website requires JavaScript.
Explore
Help
Register
Sign In
Magic-Mirror
/
gecko-dev
Watch
1
Star
0
Fork
0
You've already forked gecko-dev
mirror of
https://github.com/mozilla/gecko-dev.git
synced
2025-02-09 08:48:07 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
gecko-dev
/
xpcom
/
string
History
scc%mozilla.org
84e47f2424
added some #ifdef logic to allow me to turn NEW_STRING_APIS off, so I can continue to profile for bloat; added an implementation specific |operator+()| to resolve ambiguity with promises on some platforms; added a conversion operator (against my best judgement) to |NS_ConvertASCIItoUCS2| to support the construction of literal strings induced by the bad case of the new macro. I could conditionally define this is the opposite direction.
2000-06-11 01:06:14 +00:00
..
obsolete
added some #ifdef logic to allow me to turn NEW_STRING_APIS off, so I can continue to profile for bloat; added an implementation specific |operator+()| to resolve ambiguity with promises on some platforms; added a conversion operator (against my best judgement) to |NS_ConvertASCIItoUCS2| to support the construction of literal strings induced by the bad case of the new macro. I could conditionally define this is the opposite direction.
2000-06-11 01:06:14 +00:00
public
In an assignment, |SetLength(0); SetLength(newLength);| so that the implementation won't bother to copy any old characters if allocation is required. Fiddled with inlining to reduce bloat ... more experiments needed.
2000-06-11 01:02:12 +00:00