Skip to content

Move the erasure_pass_t to the end the invoker's parameter list.#55

Closed
Kim-J-Smith wants to merge 7 commits into
version-2.1.5from
perf/new_invoker_abi
Closed

Move the erasure_pass_t to the end the invoker's parameter list.#55
Kim-J-Smith wants to merge 7 commits into
version-2.1.5from
perf/new_invoker_abi

Conversation

@Kim-J-Smith
Copy link
Copy Markdown
Owner

@Kim-J-Smith
Copy link
Copy Markdown
Owner Author

runtime-report-new.md
runtime-report.md

In the latest benchmark, the Functor.* test items showed an unfavorable performance regression. This is because the post erasure_pass_t is not conducive to the optimization of callable objects with the this parameter. Unless it can be proven that the use of free functions constitutes the vast majority, this optimization should not be adopted.

@Kim-J-Smith Kim-J-Smith added the enhancement New feature or request label May 20, 2026
@Kim-J-Smith Kim-J-Smith deleted the perf/new_invoker_abi branch May 20, 2026 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant