Bug 1813980: Check IsDoc before Parent in RemoteAccessibleBase::ApplyCrossDocOffset. r=morgan
We call this function on every ancestor when calculating bounds.
RemoteParent() currently requires a hash lookup, so it's more efficient to early return for !IsDoc() first.
This is a micro-optimisation, but it might have some impact given that we call this on every ancestor, especially when hit testing, where we call Bounds() a lot.
As a bit of drive-by cleanup, use RemoteParent() rather than calling Parent() and IsRemote/AsRemote().
Differential Revision:
https://phabricator.services.mozilla.com/D168346
# Version of this schema
schema: 1
bugzilla:
# Bugzilla product and component for this directory and subdirectories
product: Core
component: "JavaScript: WebAssembly"
# Document the source of externally hosted code
origin:
# Short name of the package/library
name: intgemm
description: integer matrix multiplication
# Full URL for the package's homepage/etc
# Usually different from repository url
url: https://github.com/kpu/intgemm
# Human-readable identifier for this version/release
# Generally "version NNN", "tag SSS", "bookmark SSS"
release: commit fc3a614351ce6e667197307d97f45db5265c96af (2022-02-09T14:56:05Z).
# Revision to pull in
# Must be a long or short commit SHA (long preferred)
revision: fc3a614351ce6e667197307d97f45db5265c96af
# The package's license, where possible using the mnemonic from
# https://spdx.org/licenses/
# Multiple licenses can be specified (as a YAML list)
# A "LICENSE" file must exist containing the full license text
license: MIT
vendoring:
url: https://github.com/kpu/intgemm
source-hosting: github
vendor-directory: third_party/intgemm
exclude:
- build/.gitattributes
- build/.gitignore
update-actions:
- action: delete-path
path: '{yaml_dir}/config'