[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Performance
From: |
Cecil Westerhof |
Subject: |
Re: Performance |
Date: |
Mon, 21 Jun 2010 11:41:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Again, because the first I only send to Thien-Thi instead of to the
mailing list.
Op zaterdag 19 jun 2010 17:44 CEST schreef Thien-Thi Nguyen:
> 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.
The problem is that input/output is not the problem. When just adding
this statement:
(set! found-match (regexp-exec reg-exp this-line))
the program takes 65% more time. So it looks like that rex-exps are very
expensive.
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
- 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, 2010/06/19
- Re: Performance,
Cecil Westerhof <=
- 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