lib: optimize internal Web IDL dictionaries · nodejs/node@7534117 · GitHub
Skip to content

Commit 7534117

Browse files
panvaaduh95
authored andcommitted
lib: optimize internal Web IDL dictionaries
Flatten dictionary members at construction while preserving inheritance order. Skip member scans for nullish inputs without defaults or required members, and define own descriptor properties to avoid inherited setters. Signed-off-by: Filip Skokan <panva.ip@gmail.com> PR-URL: #65857 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 3cb3c23 commit 7534117

2 files changed

Lines changed: 108 additions & 44 deletions

File tree

‎lib/internal/webidl.js‎

Lines changed: 41 additions & 44 deletions
Lines changed: 67 additions & 0 deletions

0 commit comments

Comments
 (0)