Closed
Bug 1479178
Opened 6 years ago
Closed 2 years ago
Find a better way to store AccessibleNode properties
Categories
(Core :: Disability Access APIs, defect, P3)
Core
Disability Access APIs
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: dora.tokio, Unassigned, NeedInfo)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36 Actual results: This is from https://bugzilla.mozilla.org/show_bug.cgi?id=1468110#c67
Updated•6 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 1•6 years ago
|
||
I'd like to check just in case; what we have to consider in this bug is how to put together nsDataHashtables which have a few properties (e.g. m(Double | Int | Relation)Properties) into one hashtable? As a way of achieving this, we can use union, for example. I personally think there is a trade-off between memory-usage and search speed of hashtable. Is it worth compiling those properties even if it would lead to the lowering of search speed?
Comment 2•6 years ago
|
||
My primary concern is it'd be good to reduce memory usage when the properties are not used. It's basically why we proceeded with hash tables approach; despite the hash tables are slower than direct access as Olli pointed out. So if we have multiple tables, then it will have higher memory usage. I'm not sure I follow why union usage in a hash table would mean lower search speed?
Flags: needinfo?(dora.tokio)
Comment 3•2 years ago
|
||
AccessibleNode is from an old version of the AOM spec. It's possible we may need something similar when we get to virtual a11y nodes, but until that is actually specified, we really have no idea. Closing for now.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•