зеркало из https://github.com/mozilla/gecko-dev.git
83b3ac8f23
Our factory registrations already require that we store nsID pointers, which we generally handle by using pointers to static data, or arena allocating a copy of a dynamic ID. Since we already have viable pointers to these IDs, there's no reason to store an entire second copy for our hash key. We can use the pointer, instead, which saves 16 bytes per entry. MozReview-Commit-ID: 6MgKrXRSHv4 --HG-- extra : source : 5fb0b7746a5d56563b471e3061ccca124ea45485 extra : absorb_source : 275f5d4dc2c02e3d0391ed16e8690dac1e601758 |
||
---|---|---|
.. | ||
GenericFactory.cpp | ||
GenericFactory.h | ||
ManifestParser.cpp | ||
ManifestParser.h | ||
Module.h | ||
ModuleLoader.h | ||
ModuleUtils.h | ||
moz.build | ||
nsCategoryCache.cpp | ||
nsCategoryCache.h | ||
nsCategoryManager.cpp | ||
nsCategoryManager.h | ||
nsCategoryManagerUtils.h | ||
nsComponentManager.cpp | ||
nsComponentManager.h | ||
nsComponentManagerUtils.cpp | ||
nsComponentManagerUtils.h | ||
nsICategoryManager.idl | ||
nsIClassInfo.idl | ||
nsIComponentManager.idl | ||
nsIComponentRegistrar.idl | ||
nsIFactory.idl | ||
nsIModule.idl | ||
nsIServiceManager.idl | ||
nsServiceManagerUtils.h |