Re: [Haskell-cafe] Re: Shootout favoring imperative code

2006-01-12 Thread Bulat Ziganshin
Hello Einar, Wednesday, January 11, 2006, 6:06:56 PM, you wrote: My version of the packed string library does have an hGetLine. Don Stewart was merging my version with his fps at some point, Don - any news on that? EK Getting a fast FastPackedString will solve the problems with many EK

[Haskell-cafe] Re: Shootout favoring imperative code

2006-01-11 Thread Einar Karttunen
On 09.01 11:32, Simon Marlow wrote: Sebastian Sylvan wrote: It would be neat if the PackedString library contained functions such as hGetLine etc. It does have a function for reading from a buffer, but it won't stop at a newline... But yeah, fast string manipulation is difficult when using

[Haskell-cafe] Re: Shootout favoring imperative code

2006-01-09 Thread Simon Marlow
Sebastian Sylvan wrote: It would be neat if the PackedString library contained functions such as hGetLine etc. It does have a function for reading from a buffer, but it won't stop at a newline... But yeah, fast string manipulation is difficult when using a linked-list representation... My

[Haskell-cafe] Re: Shootout favoring imperative code

2006-01-06 Thread Chris Kuklewicz
[EMAIL PROTECTED] wrote: There is no need to beat a dead horse, though. This benchmark sets out to test fgets / atoi, and that is all. There are better benchmarks to spend time on. You can say that again! Ah..sarcasm, I know that one. Actually, I submitted a slightly faster sum-file

[Haskell-cafe] Re: Shootout favoring imperative code

2006-01-06 Thread Isaac Gouy
I sent a private email and the response to it has appeared on this mailing-list, so let me just correct some of the interpretations that have been made. You can say that again! Ah..sarcasm, I know that one. No, it was emphatic agreement (the ordinary usage of that phrase). Is a