Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Long prototype chains are slooooooooow #69

Open
robotlolita opened this issue Dec 23, 2015 · 2 comments
Open

Long prototype chains are slooooooooow #69

robotlolita opened this issue Dec 23, 2015 · 2 comments

Comments

@robotlolita
Copy link
Owner

In parts because we're not caching contextual lookups. But we could look at ways of collapsing the chains where possible. Siren's Reflection capability makes this more of a problem.

@vendethiel
Copy link

... And there's no way to statically detect whether reflection will be used on some particular type or not :/ (or even at all)

@robotlolita
Copy link
Owner Author

It's not as bad in Siren because reflection can only happen through the Mirror object. I'll probably add an optimisation flag in the compiler for places where it can't guess through PGO though

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants