[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Performance
From: |
Thien-Thi Nguyen |
Subject: |
Re: Performance |
Date: |
Sat, 19 Jun 2010 17:44:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
() Cecil Westerhof <address@hidden>
() Sat, 19 Jun 2010 17:05:50 +0200
(main ("temp/input" "dummy.log" "^ +" "1234567890"))
To answer this, you can try the following experiment:
$ cat > program <<EOF
(define (main args) (write args) (newline) (exit #t))
(main (command-line))
EOF
$ guile -s program some args
Re performance, take a look at the lower-level procedures used to
implement the high-level ‘read-line’. The lowest ones require an
explicit buffer to be passed in by the caller. If you modify your
program to use these, you can control the timing and frequency of
that buffer's allocation, and thus improve the program's performance.
thi
- Performance, Cecil Westerhof, 2010/06/18
- Re: Performance, Andy Wingo, 2010/06/19
- Re: Performance, Cecil Westerhof, 2010/06/19
- Re: Performance,
Thien-Thi Nguyen <=
- Re: Performance, Cecil Westerhof, 2010/06/21
- Re: Performance, Andy Wingo, 2010/06/19
- Re: Performance, Cecil Westerhof, 2010/06/21
- Re: Performance, Andy Wingo, 2010/06/21
- Re: Performance, Decebal, 2010/06/21
- Binary packages of Guile development snapshots? (was Re: Performance), Štěpán Němec, 2010/06/22
- Re: Binary packages of Guile development snapshots?, Andy Wingo, 2010/06/22