I am going to be dynamically constructing some JSON. It is a pure view function so dont care about gas cost. Still, it seems lots of string concatenation is very slow, at least in Remix. Maybe some StringBuffer.append() like functionality will speed things up ...

  • 1
    Side note: Ethereum does not exists for intensive computing. You should query the data you need from the contract and build your json on your server. Sep 21 '21 at 8:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.