gecko-dev/xpcom
Nika Layzell 5b24f801f7 Bug 1500927 - Add copy-free jsstring support to perfecthash.py, r=bzbarsky
This is needed for bug 1500926. It takes the approach of taking a JSFlatString
and using AutoAssertCannotGC to read the memory directly from the JS heap.
This lets us avoid re-encoding strings when performing lookups, which can be
advantageous.

Only ASCII strings are supported by this handler, and wide strings are hashed
as though they contain only values under 0x7f. This is OK as invalid keys to
perfecthash may return any hashtable entry.

Differential Revision: https://phabricator.services.mozilla.com/D9405
2018-10-24 20:11:01 -04:00
..
base Backed out changeset bee1c344cb47 (bug 1491909) for failures in browser/components/extensions/test/xpcshell/test_ext_geckoProfiler_control.js 2018-10-24 04:23:13 +03:00
build Bug 1492584, part 3 - Remove JS component loader registration. r=kmag 2018-10-23 23:20:38 +00:00
components Bug 1492584, part 3 - Remove JS component loader registration. r=kmag 2018-10-23 23:20:38 +00:00
doc
ds Bug 1500927 - Add copy-free jsstring support to perfecthash.py, r=bzbarsky 2018-10-24 20:11:01 -04:00
glue Bug 1489944 - Fixed some std::move warnings - r=froydnj 2018-09-10 15:51:48 +00:00
idl-parser Bug 1496622 - convert Rust nsresult type alias to newtype w/#[repr(transparent)] r=froydnj 2018-10-09 16:02:32 +00:00
io Bug 1496581 - Split nsISeekableStream in 2 classes: nsISeekableStream and nsITellableStream, f=mayhemer, r=froydnj 2018-10-18 13:35:35 +02:00
libxpt/xptcall
reflect Bug 1500927 - Add copy-free jsstring support to perfecthash.py, r=bzbarsky 2018-10-24 20:11:01 -04:00
rust Bug 1498586 - Add clang-format off to avoid the reformatting of the data structures r=Ehsan 2018-10-12 20:48:24 +00:00
string Bug 1499212 - document that Literal parameters must have a null terminator r=dbaron 2018-10-19 01:26:21 +00:00
system Bug 1489047 - Change almost all DOMString occurrences in XPIDL files to AString. r=nika 2018-09-06 18:02:43 +10:00
tests Bug 1499534: Add Pause, Resume, and IsPaused methods to ThrottledEventQueue. r=froydnj 2018-10-23 06:21:10 +00:00
threads Bug 1499534: Add Pause, Resume, and IsPaused methods to ThrottledEventQueue. r=froydnj 2018-10-23 06:21:10 +00:00
windbgdlg Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj 2018-07-31 22:10:07 +09:00
xpidl Bug 1459721 - part 7 - remove dist_idl install manifest; r=chmanchester 2018-05-15 10:05:23 -04:00
moz.build Bug 1489340 - Remove xpcom/typelib r=froydnj 2018-09-07 13:55:38 +00:00
xpcom-config.h.in
xpcom-private.h.in