Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added lor and land. The 'l' stands for both 'list' and 'lazy'. They t…
…ake list arguments and run them, instead of pulling two value types off the stack. The big advantage is that these are short circuiting expressions, so using these should save a few cpu cycles.
- Loading branch information
Jarrod
committed
Feb 7, 2009
1 parent
3419602
commit 9f8e595
Showing
3 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
999 range | ||
[dup 3 mod swap 5 mod and not] filter | ||
[dup [3 mod] [5 mod] land not] filter | ||
0 [+] fold | ||
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters