-
Notifications
You must be signed in to change notification settings - Fork 1.7k
(Set Literals) VM Support #35124
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
Comments
The initial implementation of set literals will desugar them in the front end such that no changes are necessary in the VM. Thus VM support for set literals is postponed until such a time that we decide (for performance of other reasons) to change this implementation strategy to implement set literal support directly in the backends. The VM code will contain some references to this issue in comments (added by https://dart-review.googlesource.com/c/sdk/+/85681), so those should be kept in sync if this issue is closed or re-purposed. |
/cc @alexmarkov for comments on any work in the VM that needs to be done for adding intrinsics to improve performance. |
In order to optimize set literals in VM, I think we should do the following:
|
@a-siva @alexmarkov is this not done? |
We think it is not necessary at this point to have special nodes to implement 'set literal' directly in the backend. I have created a new issue #36077 (enhancement) for optimized intrinsified implementation for set literal operations in core library. Closing this as done. |
***** Request:
As per implementation Plan:
Task5 : Task2 (VM support)
Tracked in this Issue
Implementation Plan, see ETA in this issue too.
Full proposal
The text was updated successfully, but these errors were encountered: