Skip to content

best of both world? #4

@OhSoGood

Description

@OhSoGood

Hi Argus

I love your work on the array and their memory alignment. Yet, if I'm not wrong, they are not perfect yet:

  • AlignedArray and FftwArray are fast in unmanged world, but slow in managed world because their indexers use several checks (VerifyNotDispoed, VerifyRank) and need heavy logic to read an element
  • PinnedArray is not aligned and so the fftw lib won't be optimized.

Could we have the best of both world, but using an PinnedArray2 that we expose real arrays (to managed world) but which would be memory aligned?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions