orc-lang/orc

Optimize standard library

Opened this issue · 0 comments

Functions in the standard library should be fairly efficient to prevent us from needing to do custom versions of them in specific programs.

As of writing, the standard library has a number of functions that are not tail recursive, but could be.

We should also keep this sort of thing in mind for the future. When we start updating the standard library for objects we should try to have relatively good performance for things, particularly collections.