Skip to content
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

Add MemoryInitializeInstr (similar to MemoryCopyInstr) and make use of it in e.g. TypedData.fillRange() #50256

Open
mkustermann opened this issue Oct 20, 2022 · 1 comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. type-performance Issue relates to performance or code size

Comments

@mkustermann
Copy link
Member

Similar to our optimized MemoryCopyInstr we may want to add a MemoryInitializeInstr that can be used for various purposes - e.g. TypedData.fillRange() but maybe also List.filled(), ...

/cc @dcharkes

@mkustermann mkustermann added area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. type-performance Issue relates to performance or code size labels Oct 20, 2022
@dcharkes
Copy link
Contributor

See performance measurements of memset vs fillRange in dart-lang/native#912.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. type-performance Issue relates to performance or code size
Projects
None yet
Development

No branches or pull requests

2 participants