Bug 241960
Summary: | [WebIDL] Cache extended attributes of WebIDL file | ||
---|---|---|---|
Product: | WebKit | Reporter: | Diego Pino <dpino> |
Component: | Bindings | Assignee: | Diego Pino <dpino> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | cdumez, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Diego Pino
Currently the function `GetInterfaceExtendedAttributesFromName` computes a list of extended attributes by opening an IDL file and parsing its contents. The function could cache its results so it doesn't need to compute the list again in case the same IDL file is parsed. There are other functions in CodeGenerator.pm, like `GetDictionaryByType` or `GetEnumByType`, that also cache their results.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Diego Pino
Pull request: https://github.com/webkit/webkit/pull/1769
Radar WebKit Bug Importer
<rdar://problem/96280013>
EWS
Committed 255617@main (c7da26fb5135): <https://commits.webkit.org/255617@main>
Reviewed commits have been landed. Closing PR #1769 and removing active labels.