]> gitweb.factorcode.org Git - factor.git/commitdiff
benchmark.udp-echo0: "over over" is just "2dup".
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 23 Oct 2012 19:16:12 +0000 (12:16 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 23 Oct 2012 19:16:12 +0000 (12:16 -0700)
extra/benchmark/udp-echo0/udp-echo0.factor

index 72a876416ba588e2e0453ac31adf0a2e017cf0f9..df7755f61fb4d8be789f8d22ce81054ce89146f5 100644 (file)
@@ -7,7 +7,7 @@ sequences ;
 IN: benchmark.udp-echo0
 
 : send/recv ( packet server client -- )
-    [ over over addr>> ] [ send ] bi* receive drop assert= ;
+    [ 2dup addr>> ] [ send ] bi* receive drop assert= ;
 
 : udp-echo ( #times #bytes -- )
     '[