Increase block size in cat.rla. Print GC stats to stderr.
This commit is contained in:
parent
0e62641919
commit
ce3c4f1ce9
4
cat.rla
4
cat.rla
|
|
@ -1,6 +1,6 @@
|
||||||
;(lambda (pathname)
|
;(lambda (pathname)
|
||||||
; (let [(fd (posix-open pathname O_RDONLY))]
|
; (let [(fd (posix-open pathname O_RDONLY))]
|
||||||
; (let [(str (make-byte-string 128))]
|
; (let [(str (make-byte-string 4096))]
|
||||||
; (let loop ()
|
; (let loop ()
|
||||||
; (let [(size (posix-read fd str (byte-string-size str)))]
|
; (let [(size (posix-read fd str (byte-string-size str)))]
|
||||||
; (posix-write 1 str size))
|
; (posix-write 1 str size))
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
; (loop)))]
|
; (loop)))]
|
||||||
; (loop)))
|
; (loop)))
|
||||||
#(
|
#(
|
||||||
128
|
4096
|
||||||
#S(#="template"
|
#S(#="template"
|
||||||
#(#="posix-read")
|
#(#="posix-read")
|
||||||
"\x80\x81\x83\xff" ; #(f0 f1 f3 ctx)
|
"\x80\x81\x83\xff" ; #(f0 f1 f3 ctx)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue