TritonVM / tasm-lib

A collection of functions written in Triton VM assembly (tasm)
Apache License 2.0
11 stars 2 forks source link

Function `encode_to_memory` should take reference to object without ownership #124

Closed aszepieniec closed 2 months ago

aszepieniec commented 2 months ago

Since .encode() is called anyway, one might call it on a reference instead. Avoid a lot of unnecessary .clone()ing.