Bug 253766 - Avoid doing too much iteration in WebExtensionContext::removeExpired
Summary: Avoid doing too much iteration in WebExtensionContext::removeExpired
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Extensions (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Timothy Hatcher
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-11 16:09 PST by Timothy Hatcher
Modified: 2023-03-15 13:13 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Hatcher 2023-03-11 16:09:52 PST
We don't need to iterate the HashMap if we know nothing has expired yet.
Comment 1 Timothy Hatcher 2023-03-11 16:14:26 PST
Pull request: https://github.com/WebKit/WebKit/pull/11408
Comment 2 EWS 2023-03-15 13:12:23 PDT
Committed 261706@main (d09ca7493d1e): <https://commits.webkit.org/261706@main>

Reviewed commits have been landed. Closing PR #11408 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-03-15 13:13:29 PDT
<rdar://problem/106769684>