| Summary: | Replace non-ownership transfer requiring uses of WTF::Function to use WTF::ScopeLambda to avoid allocation of WTF::Function | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> |
| Component: | Web Template Framework | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | darin, fpizlo, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Sam Weinig
2021-05-17 10:28:13 PDT
Grep for "const Function&" perhaps to find a lot of these? Is there a reason this class needs to be named "lambda" and not "function"? (In reply to Darin Adler from comment #2) > Is there a reason this class needs to be named "lambda" and not "function"? The patch that added it doesn't give much justification: https://trac.webkit.org/changeset/191705/webkit Phil, any reason you chose "lambda" over "function" here? |