Skip to content

optimize _memCopy from dart:ffi #48139

Closed
Closed
@mraleph

Description

@mraleph

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-ffitype-performanceIssue relates to performance or code size

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions