Closed Nucs closed 5 years ago
@Nucs Could you push GenericAccess
into repo ? I can't find it.
My 2 cents:
Why the hell not ;)
This is a huge change though. Can you pull it off?
@henon, Already did (thanks to regen), looking for approval. I can't PR yet but I can't continue without the approval either. And yes, existing tests already pass. @Oceania2018 Added.
Just push to your repo. Github will put all commits in one PR automatically.
Awesome @Nucs, I am looking forward to the PR.
@Nucs Thank you for your nice comparison, actually, We're using the TypedArrayStorage
not ArrayStorage
, I've already found the big performance difference before.
I refactored it in TypedArrayStorage
.
Our long term goal is implement another Storage
-> ByteStorage
to implement the way of zero-copy,
and share data with other libraries like ArrayFire
, Apache Arrow
.
Was dropped and successfully replaced with TypedArrayStorage
.
After a deep look at the backend architecture and doing some experiments, I would like you to consider the following benchmark:
Proposition
I propose to drop-off non-generic
ArrayStorage
and only useTypedGenericStorage
.I have already done it in my local but I can't remove base classes without other architects's review.