2011/9/21 Christian Kellermann <ck...@pestilenz.org>:
>
> I prefer improvement.

Btw this is what Bigloo does.

Interpreted:

$ dd if=/dev/zero bs=1M count=100 | od -xv | bigloo -i cat.scm > /dev/null
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 10.6036 s, 9.9 MB/s

Compiled with -static-all-bigloo:

$ dd if=/dev/zero bs=1M count=100 | od -xv | ./a.out > /dev/null
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 8.07031 s, 13.0 MB/s

This is almost perfect compared to cat:

$ dd if=/dev/zero bs=1M count=100 | od -xv | cat > /dev/null
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 7.61719 s, 13.8 MB/s

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to