mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 02:25:42 +00:00
10 lines
528 B
Markdown
10 lines
528 B
Markdown
|
# Precompiled `ArrayCopy` for `UnknownArrayHandle`
|
||
|
|
||
|
Previously, in order to copy an `UnknownArrayHandle`, you had to specify
|
||
|
some subset of types and then specially compile a copy for each potential
|
||
|
type. With the new ability to extract a component from an
|
||
|
`UnknownArrayHandle`, it is now feasible to precompile copying an
|
||
|
`UnknownArrayHandle` to another array. This greatly reduces the overhead of
|
||
|
using `ArrayCopy` to copy `UnknownArrayHandle`s while simultaneously
|
||
|
increasing the likelihood that the copy will be successful.
|