Closed
Bug 1885914
Opened 7 months ago
Closed 7 months ago
Speedup webidl AST generation
Categories
(Core :: DOM: Bindings (WebIDL), task)
Core
DOM: Bindings (WebIDL)
Tracking
()
RESOLVED
FIXED
126 Branch
Tracking | Status | |
---|---|---|
firefox126 | --- | fixed |
People
(Reporter: sergesanspaille, Assigned: sergesanspaille)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Creating a parse tree implies the creation of a lot of small objects. In Python, __slots__
can be used to reduce the memory usage and the interaction with those objects.
Assignee | ||
Comment 1•7 months ago
|
||
Per https://wiki.python.org/moin/UsingSlots,
slots are more efficient in terms of memory space and speed of
access
Depends on D204923
Updated•7 months ago
|
Attachment #9391778 -
Attachment description: Bug 1885914 - Use __slots__ to speedup webidl parsing r=ahochheiden → Bug 1885914 - Use __slots__ to speedup webidl parsing r=ahochheiden!
Updated•7 months ago
|
Component: General → DOM: Bindings (WebIDL)
Product: Firefox Build System → Core
Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/773503b323ed
Use __slots__ to speedup webidl parsing r=peterv
Comment 3•7 months ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 months ago
status-firefox126:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•