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

optimize _memCopy from dart:ffi #48139

Closed
2 tasks
mraleph opened this issue Jan 13, 2022 · 1 comment
Closed
2 tasks

optimize _memCopy from dart:ffi #48139

mraleph opened this issue Jan 13, 2022 · 1 comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. library-ffi type-performance Issue relates to performance or code size

Comments

@mraleph
Copy link
Member

mraleph commented Jan 13, 2022

dart:ffi uses the _memCopy helper when working with structs.

We should make sure to

  • Provide fast recognized implementation for this method (probably bottoming in MemoryCopyInstr.
  • Small constant size copies and unroll the copying loop in place.
@mraleph mraleph added area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. library-ffi labels Jan 13, 2022
@dcharkes dcharkes added the type-performance Issue relates to performance or code size label Dec 19, 2022
@dcharkes
Copy link
Contributor

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. library-ffi type-performance Issue relates to performance or code size
Projects
None yet
Development

No branches or pull requests

2 participants