Crowlang / crow

Crow Lisp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reevaluate when to lock and unlock values

Bravotic opened this issue · comments

Right now we lock when values are created, and unlock them every cycle. Maybe instead of doing this, we should simply lock them when they are in use, and unlock them when not, and check to see if they are at zero rather than unlocking them when we hit the loop part of the REPL or runner.