Revert "Performance refactoring"

Reverts timeinvariant/gorescript#3