skip to content

Gas and Optimization

0 questions

The gas model at the opcode level, SSTORE and SLOAD costs, storage packing, calldata versus memory trade-offs, short-circuiting and loop patterns, and constant versus immutable. Interviewers use it to see whether you can reason about cost per transaction, not only about correctness.

questions

0 questions