Increase block size in cat.rla. Print GC stats to stderr.

This commit is contained in:
Jesse D. McDonald 2009-11-18 22:53:28 -06:00
parent 0e62641919
commit ce3c4f1ce9
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
;(lambda (pathname)
; (let [(fd (posix-open pathname O_RDONLY))]
; (let [(str (make-byte-string 128))]
; (let [(str (make-byte-string 4096))]
; (let loop ()
; (let [(size (posix-read fd str (byte-string-size str)))]
; (posix-write 1 str size))
@ -17,7 +17,7 @@
; (loop)))]
; (loop)))
#(
128
4096
#S(#="template"
#(#="posix-read")
"\x80\x81\x83\xff" ; #(f0 f1 f3 ctx)

View File

@ -78,7 +78,7 @@ int main(int argc, char **argv)
nl();
fflush(stdout);
print_gc_stats();
fprint_gc_stats(stderr);
}
else
{