Add SSE2 for memcpy and memuse. caching SVGs too cuz why not

This commit is contained in:
ownedbywuigi 2026-03-27 10:45:45 +00:00
commit 81e2ff2fe2
4 changed files with 133 additions and 13 deletions

View file

@ -16,6 +16,11 @@
#include "nsIURI.h"
#include "nsSVGEffects.h"
#include "nsDataHashtable.h"
#include "nsHashKeys.h"
#include "nsString.h"
#include "mozilla/dom/Element.h"
NS_IMPL_NS_NEW_NAMESPACED_SVG_ELEMENT(Use)
namespace mozilla {
@ -518,5 +523,8 @@ SVGUseElement::IsAttributeMapped(const nsIAtom* name) const
SVGUseElementBase::IsAttributeMapped(name);
}
//cache svgs
static nsDataHashtable<nsStringHashKey, Element*> gIconSymbolCache;
} // namespace dom
} // namespace mozilla