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
We can speed up switch
object
#3058
Comments
@maxonfjvipon thanks for the report, but here some unclear moments:
Please fix the bug report in order it to get resolved faster. |
@maxonfjvipon can you help a bit, did I understand correctly how this implementation works?
Here we're got an I'm not sure that I can say what happens here Object |
@l3r8yJ you're right. But |
Current implementation of
switch
object usestuple.at
object which is convenient for retrieval object by index but quite heavy.Instead we can implement some recursive algorithm that can just do
cases.head
andcases.tail
instead. Something similar to #3048 but in EOThe text was updated successfully, but these errors were encountered: