Commit Graph
3 Commits
Author SHA1 Message Date
Thorbjørn Lindeijer bf3590d47a docs: fix inconsistent initial balance in Wren example and broken sentence grammar 2015-03-01 14:18:58 +00:00
Thorbjørn Lindeijer 8f54dc5f76 feat: add Sequence.any method as complement to Sequence.all
Adds a new `any` method to the Sequence class that tests whether any element
in the sequence passes the given predicate function, returning true on the
first match or false if none match. Includes documentation, core library
source update, and three new test files covering basic functionality,
non-boolean return values, and non-function argument error handling.
2015-02-28 20:45:39 +00:00
Thorbjørn Lindeijer c4be1e70ca perf: replace closure-based fib with static class method for 6% speedup
Refactor the Fibonacci benchmark to use a static method on a class instead of a recursive closure, eliminating closure overhead and yielding consistent performance improvement.
2015-02-28 20:14:28 +00:00