You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how can you be sure that value2, value3 and value4 are always pinned and have always the same contiguous memory ?
From what I see you create a pointer to cover 32byte of memory starting from the address of value1 that's the only pinned value. Do you have any documentation that ensure that the memory will be allocated sequentially for your 4 allocated ulong variables on every platform?
I've tried different UInt256 implementation and this is one of the most performant constructor but I've doubts about the correctness, can you enlighten me?
thanks
The text was updated successfully, but these errors were encountered:
I've a question about your UInt256 implementation
neo/src/neo/UInt256.cs
Lines 15 to 33 in c5a0f07
how can you be sure that value2, value3 and value4 are always pinned and have always the same contiguous memory ?
From what I see you create a pointer to cover 32byte of memory starting from the address of value1 that's the only pinned value. Do you have any documentation that ensure that the memory will be allocated sequentially for your 4 allocated ulong variables on every platform?
I've tried different UInt256 implementation and this is one of the most performant constructor but I've doubts about the correctness, can you enlighten me?
thanks
The text was updated successfully, but these errors were encountered: