Skip to content

Before expensive loops, push stack vars to memory #52

Open

Description

@ControlCplusControlV
No description provided.

Activity

  1. ControlCplusControlV commented on Dec 17, 2022

    @ControlCplusControlV
    OwnerAuthor

    Before expensive loops, push stack vars to memory

    Instead of trying to fix the stack at the end of every iteration, to be the same as before, we could just shift everything to memory when a loop is expensive enough. This wouldn't make sense for branches that run once like an if statement or switch, but for loops should probably always do this, unless w/ the dynamic programming thing above we can find a stack order that would eliminate the need to re-order the stack after every loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions