Closed bigworld12 closed 6 years ago
oh sorry i didn't notice the other 3 parameters were the outputs, cloning is still not needed, just 3 empty arrays would work
Maybe the PermuteColumns method should return a new CompressedColumnStorage instance? This would make clear, that new memory will be allocated.
then i suggest making the class CompressedColumnStorage
This would imply a lot of refactoring. You could use CompressedColumnStorage<T>.Create(...)
for now. I'm not quite happy with this solution, but I also don't think, that the user should be able to create CompressedColumnStorage<T>
objects.
then i think this should be good
In fact, cloning is needed: