Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

WIP: Minor Code changes that optimise gas use #27

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

WIP: Minor Code changes that optimise gas use #27

wants to merge 4 commits into from

Commits on Dec 9, 2018

  1. WIP Small Gas Optomisations

    Change Log:
    
    Assemblified subring Check ~= 100 gas reduction
    
    Removed all add( x , 0) instances from assembly operations as they are redundant/wasting gas
    Replaced clear multiplication instances with answer ie instances with 32*5 with 160	~= 250 gas reduction
    
    Refactored calculation of memory required by lists, using assembly and a new calculate function. this stops an extra for loop and ring index calculations ~= 300 gas reduction
    
    Assemblified the Validity Check ~= 700 gas reduction
    
    orderhelper - ValidateAllInfo is now all assembly ~= 750 gas reduction
    Harnick Khera authored and Harnick Khera committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    9d83179 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2018

  1. Refacored CheckOrdersValid and CheckForSubrings into a single function

    Harnick Khera authored and Harnick Khera committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    e056665 View commit details
    Browse the repository at this point in the history
  2. Packed EmitRing to reduce empty bytes

    Harnick Khera authored and Harnick Khera committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    dafec53 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2018

  1. Reverted Data order, while retaining savings

    Harnick Khera authored and Harnick Khera committed Dec 16, 2018
    Configuration menu
    Copy the full SHA
    89ef424 View commit details
    Browse the repository at this point in the history