Skip to content
  • Kenneth Moreland's avatar
    Add general `ArrayCopy` between `UnknownArrayHandle`s · 916a01d7
    Kenneth Moreland authored
    Add an overload of `ArrayCopy` that takes `UnknownArrayHandle`s and
    copies them for (almost) any `ArrayHandle` type.
    
    The code uses `CastAndCallWithExtractedArray` to reduce the total number
    of copy conditions to about 100, which are all precompiled into the
    library. On a debug build on my mac, this creates a .o file of 21MB.
    That's not great, but not terrible. Hopefully, this can be used to
    consolidate copy implementations elsewhere.
    916a01d7