Closed Bug 1884320 Opened 8 months ago Closed 7 months ago

Speedup webidl custom enum type

Categories

(Core :: DOM: Bindings (WebIDL), task)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: sergesanspaille, Assigned: sergesanspaille)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Current implementation relies on __getattr__ overloading which is pretty slow

Current implementation relies on getattr which is relatively slow
(this method gets called upon failed attribute lookup) while we could
use a straight-forward implementation that keeps the same nice
properties.

Depends on D204006

Pushed by sguelton@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/092aaec7347a faster webildl.py: faster enum type r=ahochheiden
Blocks: 1646937
No longer blocks: 1884317
Pushed by sguelton@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/46071176ce0b faster webildl.py: faster enum type r=ahochheiden
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Component: General → DOM: Bindings (WebIDL)
Product: Firefox Build System → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: