libplanet icon indicating copy to clipboard operation
libplanet copied to clipboard

Avoid unnecessary copying on the APIs receiving `FungibleAssetValue` and `Currency`

Open longfin opened this issue 2 years ago • 0 comments

Since FungibleAssetValue and Currency are readonly struct, some existing APIs receiving them can be defined with the in modifier, to avoid value copying.

longfin avatar Jun 16 '23 09:06 longfin