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
This approach is found in hot paths for Transaction CBOR deserialization:
For the CardanoSharp.Wallet SDK to be used in performance-oriented applications we should use the simpler form which doesn't incur additional computation or allocation overhead yet returns same result.
Currently ByteString type CBORObjects are decoded to byte[] using the long form expression
Where
DecodeValueByCborType()
exists in CBORExtensions.cs asThis approach is found in hot paths for Transaction CBOR deserialization:
For the CardanoSharp.Wallet SDK to be used in performance-oriented applications we should use the simpler form which doesn't incur additional computation or allocation overhead yet returns same result.
Test to validate equivalence of the approaches
The text was updated successfully, but these errors were encountered: