gecko-dev/memory/replace
Gerald Squelart 782cf5d3ad Bug 1657033 - Use Span<const char> in JSONWriter - r=froydnj
In most situations, JSONWriter users already know string lengths (either directly, or through `nsCString` and friends), so we should keep this information through JSONWriter and not recompute it again.
This also allows using JSONWriter with sub-strings (e.g., from a bigger buffer), without having to create null-terminated strings.

Public JSONWriter functions have overloads that accept literal strings.

Differential Revision: https://phabricator.services.mozilla.com/D86192
2020-09-14 02:33:20 +00:00
..
dmd Bug 1657033 - Use Span<const char> in JSONWriter - r=froydnj 2020-09-14 02:33:20 +00:00
logalloc Bug 1658434 - Replace replace_malloc.mk with a mozbuild file. r=nalexander 2020-08-11 00:05:38 +00:00
phc Bug 1649071 - Replace the DISALLOW_COPY_AND_ASSIGN & DISALLOW_EVIL_CONSTRUCTORS macros with = delete; r=froydnj 2020-06-29 14:37:56 +00:00
moz.build Bug 1523276 - Implement PHC, a probabilistic heap checker. r=glandium,gsvelto 2019-07-03 09:26:11 +10:00