| 
									
										
										
										
											2008-07-24 00:50:21 -04:00
										 |  |  | USING: namespaces assocs sequences compiler.tree.builder | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | compiler.tree.dead-code compiler.tree.def-use compiler.tree | 
					
						
							| 
									
										
										
										
											2008-08-15 00:35:19 -04:00
										 |  |  | compiler.tree.combinators compiler.tree.propagation | 
					
						
							|  |  |  | compiler.tree.cleanup compiler.tree.escape-analysis | 
					
						
							|  |  |  | compiler.tree.tuple-unboxing compiler.tree.debugger | 
					
						
							| 
									
										
										
										
											2008-09-12 06:17:27 -04:00
										 |  |  | compiler.tree.recursive compiler.tree.normalization | 
					
						
							|  |  |  | compiler.tree.checker tools.test kernel math stack-checker.state | 
					
						
							|  |  |  | accessors combinators io prettyprint words sequences.deep | 
					
						
							| 
									
										
										
										
											2011-11-06 22:20:33 -05:00
										 |  |  | sequences.private arrays classes kernel.private shuffle | 
					
						
							|  |  |  | math.private ;
 | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | IN: compiler.tree.dead-code.tests | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | : count-live-values ( quot -- n )
 | 
					
						
							| 
									
										
										
										
											2008-07-24 00:50:21 -04:00
										 |  |  |     build-tree | 
					
						
							| 
									
										
										
										
											2008-09-12 06:17:27 -04:00
										 |  |  |     analyze-recursive | 
					
						
							| 
									
										
										
										
											2008-08-13 15:17:04 -04:00
										 |  |  |     normalize | 
					
						
							| 
									
										
										
										
											2008-08-15 00:35:19 -04:00
										 |  |  |     propagate | 
					
						
							| 
									
										
										
										
											2015-06-06 02:18:43 -04:00
										 |  |  |     cleanup-tree | 
					
						
							| 
									
										
										
										
											2008-08-15 00:35:19 -04:00
										 |  |  |     escape-analysis | 
					
						
							|  |  |  |     unbox-tuples | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  |     compute-def-use | 
					
						
							|  |  |  |     remove-dead-code | 
					
						
							| 
									
										
										
										
											2008-08-08 14:14:36 -04:00
										 |  |  |     0 swap [ | 
					
						
							| 
									
										
										
										
											2008-08-14 00:52:49 -04:00
										 |  |  |         dup
 | 
					
						
							|  |  |  |         [ #push? ] [ #introduce? ] bi or
 | 
					
						
							|  |  |  |         [ out-d>> length + ] [ drop ] if
 | 
					
						
							| 
									
										
										
										
											2008-08-08 14:14:36 -04:00
										 |  |  |     ] each-node ;
 | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 3 } [ [ 1 2 3 ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 1 } [ [ drop ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-08 14:14:36 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 0 } [ [ 1 drop ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 1 } [ [ 1 2 drop ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 3 } [ [ [ 1 ] [ 2 ] if ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 1 } [ [ [ 1 ] [ 2 ] if drop ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 2 } [ [ [ 1 ] [ dup ] if drop ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 2 } [ [ 1 + ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 0 } [ [ 1 2 + drop ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 3 } [ [ 1 + 3 + ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 0 } [ [ 1 2 + 3 + drop ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 4 } [ [ [ 1 ] [ 2 ] if 3 + ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 1 } [ [ [ 1 ] [ 2 ] if 3 + drop ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 0 } [ [ [ ] call ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 1 } [ [ [ 1 ] call ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 2 } [ [ [ 1 ] [ 2 ] compose call ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-07-20 05:24:37 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 0 } [ [ [ 1 ] [ 2 ] compose call + drop ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-13 15:17:04 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { 3 } [ [ 10 [ ] times ] count-live-values ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-15 00:35:19 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-08-13 15:17:04 -04:00
										 |  |  | : optimize-quot ( quot -- quot' )
 | 
					
						
							| 
									
										
										
										
											2008-08-15 00:35:19 -04:00
										 |  |  |     build-tree | 
					
						
							| 
									
										
										
										
											2008-09-12 06:17:27 -04:00
										 |  |  |     analyze-recursive | 
					
						
							| 
									
										
										
										
											2008-08-15 00:35:19 -04:00
										 |  |  |     normalize | 
					
						
							|  |  |  |     propagate | 
					
						
							| 
									
										
										
										
											2015-06-06 02:18:43 -04:00
										 |  |  |     cleanup-tree | 
					
						
							| 
									
										
										
										
											2008-08-15 00:35:19 -04:00
										 |  |  |     escape-analysis | 
					
						
							|  |  |  |     unbox-tuples | 
					
						
							|  |  |  |     compute-def-use | 
					
						
							|  |  |  |     remove-dead-code | 
					
						
							|  |  |  |     "no-check" get [ dup check-nodes ] unless nodes>quot ;
 | 
					
						
							| 
									
										
										
										
											2008-08-13 15:17:04 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ drop 1 ] } [ [ [ 1 ] dip drop ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-13 15:17:04 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ stream-read1 drop 1 2 ] } [ [ stream-read1 [ 1 2 ] dip drop ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-13 15:17:04 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ over >R + R> ] } [ [ [ + ] [ drop ] 2bi ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-14 00:52:49 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ [ ] [ ] if ] } [ [ [ 1 ] [ 2 ] if drop ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-14 00:52:49 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | : flushable-1 ( a b -- c ) 2drop f ; flushable
 | 
					
						
							|  |  |  | : flushable-2 ( a b -- c ) 2drop f ; flushable
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ 2nip [ ] [ ] if ] } [ | 
					
						
							| 
									
										
										
										
											2008-08-14 00:52:49 -04:00
										 |  |  |     [ [ flushable-1 ] [ flushable-2 ] if drop ] optimize-quot | 
					
						
							|  |  |  | ] unit-test | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | : non-flushable-3 ( a b -- c ) 2drop f ;
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ [ 2drop ] [ non-flushable-3 drop ] if ] } [ | 
					
						
							| 
									
										
										
										
											2008-08-14 00:52:49 -04:00
										 |  |  |     [ [ flushable-1 ] [ non-flushable-3 ] if drop ] optimize-quot | 
					
						
							|  |  |  | ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-15 00:35:19 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ [ f ] [ f ] if ] } [ [ [ f ] [ f ] if ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-15 00:35:19 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { } [ [ dup [ 3 throw ] [ ] if ] optimize-quot drop ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-15 00:35:19 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ [ . ] [ drop ] if ] } [ [ [ dup . ] [ ] if drop ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-18 22:30:10 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ f ] } [ [ f dup [ ] [ ] if ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-19 18:11:33 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { } [ [ over [ ] [ dup [ "X" throw ] [ "X" throw ] if ] if ] optimize-quot drop ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-19 18:11:33 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | : boo ( a b -- c ) 2drop f ;
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ dup 4 eq? [ nip ] [ boo ] if ] } [ [ dup dup 4 eq? [ drop nip ] [ drop boo ] if ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-22 04:12:15 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | : squish ( quot -- quot' )
 | 
					
						
							|  |  |  |     [ | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             { [ dup word? ] [ dup vocabulary>> [ drop "REC" ] unless ] } | 
					
						
							|  |  |  |             { [ dup wrapper? ] [ dup wrapped>> vocabulary>> [ drop "WRAP" ] unless ] } | 
					
						
							|  |  |  |             [ ] | 
					
						
							|  |  |  |         } cond
 | 
					
						
							|  |  |  |     ] deep-map ;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | : call-recursive-dce-1 ( a -- b )
 | 
					
						
							|  |  |  |     [ call-recursive-dce-1 drop ] [ call-recursive-dce-1 ] bi ; inline recursive
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ drop "WRAP" [ "REC" drop "REC" ] label ] } [ | 
					
						
							| 
									
										
										
										
											2008-08-22 04:12:15 -04:00
										 |  |  |     [ call-recursive-dce-1 ] optimize-quot squish | 
					
						
							|  |  |  | ] unit-test | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | : produce-a-value ( -- a ) f ;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | : call-recursive-dce-2 ( a -- b )
 | 
					
						
							|  |  |  |     drop
 | 
					
						
							|  |  |  |     produce-a-value dup . call-recursive-dce-2 ; inline recursive
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ "WRAP" [ produce-a-value . "REC" ] label ] } [ | 
					
						
							| 
									
										
										
										
											2008-08-22 04:12:15 -04:00
										 |  |  |     [ f call-recursive-dce-2 drop ] optimize-quot squish | 
					
						
							|  |  |  | ] unit-test | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ "WRAP" [ produce-a-value . "REC" ] label ] } [ | 
					
						
							| 
									
										
										
										
											2008-08-22 04:12:15 -04:00
										 |  |  |     [ f call-recursive-dce-2 ] optimize-quot squish | 
					
						
							|  |  |  | ] unit-test | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | : call-recursive-dce-3 ( a -- )
 | 
					
						
							|  |  |  |     call-recursive-dce-3 ; inline recursive
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ [ drop "WRAP" [ "REC" ] label ] [ . ] if ] } [ | 
					
						
							| 
									
										
										
										
											2008-08-22 04:12:15 -04:00
										 |  |  |     [ [ call-recursive-dce-3 ] [ . ] if ] optimize-quot squish | 
					
						
							|  |  |  | ] unit-test | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ drop "WRAP" [ "REC" ] label ] } [ | 
					
						
							| 
									
										
										
										
											2008-08-22 04:12:15 -04:00
										 |  |  |     [ call-recursive-dce-3 ] optimize-quot squish | 
					
						
							|  |  |  | ] unit-test | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | : call-recursive-dce-4 ( a -- b )
 | 
					
						
							|  |  |  |     call-recursive-dce-4 ; inline recursive
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ drop "WRAP" [ "REC" ] label ] } [ | 
					
						
							| 
									
										
										
										
											2008-08-22 04:12:15 -04:00
										 |  |  |     [ call-recursive-dce-4 ] optimize-quot squish | 
					
						
							|  |  |  | ] unit-test | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ drop "WRAP" [ "REC" ] label ] } [ | 
					
						
							| 
									
										
										
										
											2008-08-22 04:12:15 -04:00
										 |  |  |     [ call-recursive-dce-4 drop ] optimize-quot squish | 
					
						
							|  |  |  | ] unit-test | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { } [ [ f call-recursive-dce-3 swap ] optimize-quot drop ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-22 04:12:15 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | : call-recursive-dce-5 ( -- ) call-recursive-dce-5 ; inline recursive
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { } [ [ call-recursive-dce-5 swap ] optimize-quot drop ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-22 04:12:15 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { } [ [ [ 0 -rot set-nth-unsafe ] curry (each-integer) ] optimize-quot drop ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-22 04:12:15 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-03-09 02:46:20 -05:00
										 |  |  | : call-recursive-dce-6 ( i quot: ( ..a -- ..b ) -- i )
 | 
					
						
							| 
									
										
										
										
											2008-08-22 04:12:15 -04:00
										 |  |  |     dup call [ drop ] [ call-recursive-dce-6 ] if ; inline recursive
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { } [ [ [ ] curry [ ] swap compose call-recursive-dce-6 ] optimize-quot drop ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-22 04:12:15 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { } [ [ [ ] rot [ . ] curry pick [ roll 2drop call ] [ 2nip call ] if ] optimize-quot drop ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-22 18:38:23 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ drop ] } [ [ array? drop ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-22 18:38:23 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ drop ] } [ [ array instance? drop ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-22 18:38:23 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-03-18 15:46:41 -04:00
										 |  |  | { | 
					
						
							|  |  |  |     [ f <array> drop ] | 
					
						
							|  |  |  |     [ f <array> drop ] | 
					
						
							|  |  |  |     [ drop ] | 
					
						
							|  |  |  | } [ | 
					
						
							|  |  |  |     ! Not flushed because the first argument to <array> can be | 
					
						
							|  |  |  |     ! something random which would cause an exception. | 
					
						
							|  |  |  |     [ f <array> drop ] optimize-quot | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     ! This call is not flushed because the integer can be outside | 
					
						
							|  |  |  |     ! array-capacity-interval | 
					
						
							|  |  |  |     [ { integer } declare f <array> drop ] optimize-quot | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     ! Flushed because the declaration guarantees that the integer is | 
					
						
							|  |  |  |     ! within the array-capacity-interval. | 
					
						
							|  |  |  |     [ { integer-array-capacity } declare f <array> drop ] optimize-quot | 
					
						
							|  |  |  | ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-22 18:38:23 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ f <array> drop ] } [ [ f <array> drop ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2008-08-28 23:28:34 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | : call-recursive-dce-7 ( obj -- elt ? )
 | 
					
						
							|  |  |  |     dup 5 = [ t ] [ dup [ call-recursive-dce-7 ] [ drop f f ] if ] if ; inline recursive
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { } [ [ call-recursive-dce-7 ] optimize-quot drop ] unit-test | 
					
						
							| 
									
										
										
										
											2011-11-06 22:20:33 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ /i ] } [ [ /mod drop ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2011-11-06 22:20:33 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ mod ] } [ [ /mod nip ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2011-11-06 22:20:33 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ fixnum/i ] } [ [ { fixnum fixnum } declare /mod drop ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2011-11-06 22:20:33 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ fixnum-mod ] } [ [ { fixnum fixnum } declare /mod nip ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2011-11-06 22:20:33 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ bignum/i ] } [ [ { bignum bignum } declare /mod drop ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2011-11-06 22:20:33 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ bignum-mod ] } [ [ { bignum bignum } declare /mod nip ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2012-07-21 06:41:42 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ /i ] } [ [ /mod drop ] optimize-quot ] unit-test | 
					
						
							| 
									
										
										
										
											2012-07-21 06:41:42 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { [ mod ] } [ [ /mod nip ] optimize-quot ] unit-test |