---
title: "Tarun Soni (@tarunsoni12) | Hashnode"
description: "I build and break stuff, Everything Frontend, web3. Read the latest articles by Tarun Soni on Hashnode."
url: "https://hashnode.com/@tarunsoni12"
---

@tarunsoni12

# Tarun Soni

@tarunsoni12 · India · Joined July 2022

I build and break stuff, Everything Frontend, web3

## Comments

[Hey Bruce, Glad you liked the article. I pasted the code in https://remix.ethereum.org and we can see the gas consumed at the bottom](https://hashnode.com/posts/how-to-save-gas-when-writing-your-smart-contract-in-solidity/62fb6aedc0004ed752ad968c/comment/64d250c632895e0c90ef627d#reply-650f50e866a8e03eff7a3c3c)

Reply · Article · Sep 23, 2023 · [How To Save Gas When Writing Your Smart Contract In Solidity?](https://hashnode.com/posts/how-to-save-gas-when-writing-your-smart-contract-in-solidity/62fb6aedc0004ed752ad968c)

[Thanks Nitish Srivastava Yes, the testFunction2() consumed less gas, I've updated the table. :)](https://hashnode.com/posts/how-to-save-gas-when-writing-your-smart-contract-in-solidity/62fb6aedc0004ed752ad968c/comment/641ad421a581f3121e293f7c#reply-64246c208ec0c0a265b0ae7e)

Reply · Article · Mar 29, 2023 · [How To Save Gas When Writing Your Smart Contract In Solidity?](https://hashnode.com/posts/how-to-save-gas-when-writing-your-smart-contract-in-solidity/62fb6aedc0004ed752ad968c)
