orc-lang / orc

Orc programming language implementation
https://orc.csres.utexas.edu/
BSD 3-Clause "New" or "Revised" License
40 stars 3 forks source link

Optimize standard library #196

Open arthurp opened 7 years ago

arthurp commented 7 years ago

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.