azos icon indicating copy to clipboard operation
azos copied to clipboard

Revise typecasts to Unsafe.As<T> as it is much faster in most cases

Open itadapter opened this issue 1 year ago • 0 comments

https://stackoverflow.com/questions/50870942/why-is-casting-a-struct-via-pointer-slow-while-unsafe-as-is-fast

This may affect any place that uses bit blitting, like: ShardKey, etc...

itadapter avatar Aug 09 '22 18:08 itadapter