Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt at widening the arities for multimethod calls #149

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 31, 2024

  1. Attempt at widening the arities for multimethod calls

    There's a lot of `apply`/`RestFn`/`invoke` etc. dynamic call machinery
    in Methodical's stack traces. This is an attempt to remove some of it
    by going up to 7 direct args for multimethod calls. (And dispatch
    functions.)
    
    This hasn't removed much of the `apply` overhead in practice because
    `with-meta` on a function wraps it with a naive function subclass that
    always does a dynamic call. There are probably still some places that
    more dynamic calls are creeping in, but I ran out of time to dig
    deeper.
    
    This may not go anywhere until I get back, but I wanted to publish this
    just in case.
    bshepherdson committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    46d8728 View commit details
    Browse the repository at this point in the history