gecko-dev/xpcom/string
Valentin Gosu b596ffd428 Bug 1696261 - Optimize nsDataHandler and nsSimpleURI::SetSpec to do fewer passes r=necko-reviewers,kershaw
- Rename nsAciiMask.h details:: namespace to asciimask_details so it doesn't clash with ipc/chromium/src/base/task.h
- Add SetSpecAndFilterWhitespace simple URI constructor that filters whitespace instead of just CR/LF.
- Only do one scan of the string in nsSimpleURI::SetPathQueryRefInternal in order to find the end of the path, query & ref.

There are probably more optimizations possible.
In my testing these get me a 1.5x-2x speedup.

Differential Revision: https://phabricator.services.mozilla.com/D107567
2021-04-06 08:37:40 +00:00
..
crashtests
README.html
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
nsASCIIMask.cpp
nsASCIIMask.h Bug 1696261 - Optimize nsDataHandler and nsSimpleURI::SetSpec to do fewer passes r=necko-reviewers,kershaw 2021-04-06 08:37:40 +00:00
nsAString.h
nsCharTraits.h
nsDependentString.cpp
nsDependentString.h
nsDependentSubstring.cpp
nsDependentSubstring.h
nsLiteralString.h
nsPrintfCString.h Bug 1673670 - Add vprintf style nsVprintfCString + tests. r=xpcom-reviewers,sg 2020-10-29 14:55:07 +00:00
nsPromiseFlatString.cpp
nsPromiseFlatString.h
nsReadableUtils.cpp
nsReadableUtils.h Bug 1683213: Don't warn on range-loop-analysis r=sheehan,sg,firefox-build-system-reviewers,andi,glandium 2021-01-11 15:30:45 +00:00
nsString.cpp
nsString.h
nsStringBuffer.h
nsStringComparator.cpp
nsStringFlags.h
nsStringFwd.h
nsStringIterator.h
nsStringObsolete.cpp
nsSubstring.cpp
nsTDependentString.cpp
nsTDependentString.h
nsTDependentSubstring.cpp
nsTDependentSubstring.h
nsTLiteralString.h
nsTPromiseFlatString.cpp
nsTPromiseFlatString.h
nsTString.cpp
nsTString.h
nsTStringComparator.cpp Bug 1519636 - Reformat with clang-format-11 to the Google coding style r=andi,sg,geckoview-reviewers,snorp 2020-11-18 09:05:59 +00:00
nsTStringHasher.h
nsTStringObsolete.cpp
nsTStringRepr.h
nsTSubstring.cpp Bug 1686831 - Handle trailing zero removal in double-conversion. r=nika,jwalden,Gankra 2021-01-29 04:25:53 +00:00
nsTSubstring.h Bug 1679987 - Implement nsTSubstring::Split using nsTokenizedRange. r=xpcom-reviewers,necko-reviewers,nika 2020-12-17 12:36:47 +00:00
nsTSubstringTuple.cpp Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
nsTSubstringTuple.h
nsTextFormatter.cpp
nsTextFormatter.h
nsUTF8Utils.h
precompiled_templates.cpp

README.html

<html>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<body>
  <h1><span class="LXRSHORTDESC">managing sequences of characters</span></h1>
<p>
  <span class="LXRLONGDESC"></span>
</p>
</body>
</html>