Skip to content

Method call optimisation #95

@wnewbery

Description

@wnewbery

slim::expr::FuncCall concrete implementations currently just call Object::call_method(name, args).

This results in doing a lookup on every invocation. It could be cached so that if the call is made for the same self-type as last time, the lookup is skipped.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions