I have a very particular problem where I could use a shared storage but slicing vectors where Copy would be pretty wasteful.
Is there any way I could create and "distribute" those slices around without having to deal with a Copy back approach? What I mean with distribute is that the algorithm doing the slicing is not the one that uses those slices... Therefore, for the point of view of the consumer they should be dealing with a vector.
Check the GetFeatures method at the end and the protected constructor: https://gist.github.com/redknightlois/5d6e0e848e8daa5e520b
Is there any way I could create and "distribute" those slices around without having to deal with a Copy back approach? What I mean with distribute is that the algorithm doing the slicing is not the one that uses those slices... Therefore, for the point of view of the consumer they should be dealing with a vector.
Check the GetFeatures method at the end and the protected constructor: https://gist.github.com/redknightlois/5d6e0e848e8daa5e520b