Skip to content

Use Buffer object in ArrayHandle with basic storage

Kenneth Moreland requested to merge kmorel/vtk-m:basic-array-use-buffer into master

For some time now there has been a special implementation of ArrayHandle for the basic storage that manages data in type-less C arrays. This specialization allows for much faster compile times. We plan to implement this strategy for all ArrayHandles by changing the storage mechanism to use type-less Buffer objects.

In this change, we alter the special implementation of ArrayHandle with StorageTagBasic. The new implementation is equivalent to the old implementation, but wraps the array management in the Buffer objects. Soon, the remaining ArrayHandle types will move over to the new system.

Merge request reports

Loading