From 916caaf47af273122dba239d19c5eea2b5bfb4e3 Mon Sep 17 00:00:00 2001 From: "dr. mia von steinkirch, phd" <1130416+mvonsteinkirch@users.noreply.github.com> Date: Tue, 24 Jan 2023 16:29:54 -0800 Subject: [PATCH] saving 6 gas it iszero() --- saving_gas/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/saving_gas/README.md b/saving_gas/README.md index 80f540c..dfc87a0 100644 --- a/saving_gas/README.md +++ b/saving_gas/README.md @@ -9,6 +9,13 @@ - avoid calls to other contracts. - ++i uses 5 gas less than i++. - if you don’t need a variable anymore, you should delete it using the delete keyword provided by solidity or by setting it to its default value. + +
+ +Screen Shot 2023-01-24 at 4 28 45 PM + + +
#### pack variables