Performing complex calculations on-chain can be expensive, so if there is
such an opportunity, it is better to move these calculations to the off-chain backend. Ideally, if complex calculations are performed off-chain, in a smart contract it is enough only to check the correctness of these calculations.
Answered
Is it feasible to sort 50 000 objects on-chain?
Suppose I need to store 50 000 objects and have the ability to sort them (e.g., find an object with the minimal value of some parameter). Is it possible and reasonable to do that on-chain, or does that require an off-chain backend?
This question was imported from Telegram Chat: https://t.me/tondev/114394
13K Views
1
Answer
one year ago
one year ago
Tags