gecko-dev/memory
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
..
build Bug 1663237 - Replace MOZ_MUST_USE with [[nodiscard]] in mozjemalloc. r=glandium 2020-09-08 07:20:19 +00:00
gtest
mozalloc Bug 1657857 - Call native abort in UBSan builds. r=froydnj 2020-08-07 18:22:03 +00:00
replace Bug 1657033 - Use Span<const char> in JSONWriter - r=froydnj 2020-09-14 02:33:20 +00:00
volatile Bug 1598068 - Add ashmem abstraction to mozglue and use it everywhere r=glandium,jld 2020-03-06 19:04:49 +00:00
app.mozbuild
moz.build
moz.configure