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
Dart2js optimization #155
Comments
Could you give more detail about what sort of optimizations you're thinking about, please? In particular -- do you have a specific use case that you want to speed up? |
This should go to built_collection repository probably. I too have issues with built collection & dart2js. Consider following code:
Compile it with
There is huge performance penalty for using iterator vs using direct array access in a loop. Still, dart2js is able to recognize that there is native array behind list, but not able to generate same efficient code as for using array directly. This is just specific case, but probably same issue is with other methods. |
Created an issue over at built_collection. Please continue discussion there. |
Closing, please reopen if there are built_value specific issues. (As opposed to built_collection). Thanks! |
Is there any plans for optimizing this library for dart2js? For example for Iterable and use them as JSarray ?
The text was updated successfully, but these errors were encountered: