Skip to content

best of both world? #4

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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