Re: Performance

2010-06-21 Thread Decebal
- Oorspronkelijk bericht - > On Mon 21 Jun 2010 11:48, Cecil Westerhof writes: > > > standard input:2:2: In expression (unquote profile): > > standard input:2:2: Unbound variable: unquote > > ABORT: (unbound-variable) > > Ah, I didn't know you were using Guile 1.8. The Guile 2.0 snapshot

Re: Performance

2010-06-21 Thread Andy Wingo
Hello, On Mon 21 Jun 2010 11:48, Cecil Westerhof writes: > standard input:2:2: In expression (unquote profile): > standard input:2:2: Unbound variable: unquote > ABORT: (unbound-variable) Ah, I didn't know you were using Guile 1.8. The Guile 2.0 snapshots are faster, and they have a

Re: Multi-byte characters

2010-06-21 Thread Cecil Westerhof
Op maandag 21 jun 2010 15:20 CEST schreef Mike Gran: >> From: Cecil Westerhof ce...@decebal.nl > >> I am experimenting with Guile. It looks like the performance is not that >> good. But I continue. One of the things is multi-byte characters. I want >> to replace spaces with non breaking spaces. Bu

Re: Multi-byte characters

2010-06-21 Thread Mike Gran
> From: Cecil Westerhof ce...@decebal.nl > I am experimenting with Guile. It looks like the performance is not that > good. But I continue. One of the things is multi-byte characters. I want > to replace spaces with non breaking spaces. But Guile sees a non > breaking space ( ) as two characters (

Re: Multi-byte characters

2010-06-21 Thread Cecil Westerhof
Op maandag 21 jun 2010 11:54 CEST schreef Cecil Westerhof: > I am experimenting with Guile. It looks like the performance is not that > good. But I continue. One of the things is multi-byte characters. I want > to replace spaces with non breaking spaces. But Guile sees a non > breaking space ( ) a

Multi-byte characters

2010-06-21 Thread Cecil Westerhof
I am experimenting with Guile. It looks like the performance is not that good. But I continue. One of the things is multi-byte characters. I want to replace spaces with non breaking spaces. But Guile sees a non breaking space ( ) as two characters (when using string-length). Is there a way to let G

Re: Performance

2010-06-21 Thread Cecil Westerhof
Op zaterdag 19 jun 2010 20:16 CEST schreef Andy Wingo: >> Op zaterdag 19 jun 2010 11:16 CEST schreef Andy Wingo: >> >>> ,profile (call-my-function) >> >> (main ("temp/input" "dummy.log" "^ +" "1234567890")) > > Almost. At the repl, type: > > (load "dummy.scm") > > Then: > > ,profile (main '("dummy

Re: Performance

2010-06-21 Thread Cecil Westerhof
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