On Thu, Oct 28, 2010 at 2:16 AM, Kazu Yamamoto wrote:
> When I compiled a network server with GHC 7 without the "-threaded"
> option and ran it, I got the following error.
>
>file descriptor 5496824 out of range for select (0--1024).
>
> I have read the paper "Scalable Event Handling for
On 10/27/10 13:39, Larry Evans wrote:
> With the following .hs:
>
> ==<--TestPrettyPrintLeijen.hs-->
> module TestPrettyPrintLeijen where
[snip]
> import Debug.QuickCheck.Batch
> {- Above import based on exposed-modules: section of:
> /usr/lib/ghc-6.12.1/package.conf.d/QuickCheck-1.2.0.0.conf
>
>
Hi,
> let (first,rest) = break (const False) input
> in
> print (length (first ++ rest))
>
> When I compile this program using -O2 and use a large text file as
> input the code runs in constant space. If I understand correctly,
> the program runs in constant space because ghc uses an optimi
Hello,
When I compiled a network server with GHC 7 without the "-threaded"
option and ran it, I got the following error.
file descriptor 5496824 out of range for select (0--1024).
I have read the paper "Scalable Event Handling for GHC" and understand
that this new IO manger assumes the "
Hi,
I have a question regarding the famous Wadler space leak. The
following program is a variation of Wadler's example.
let (first,rest) = break (const False) input
in
print (length (first ++ rest))
When I compile this program using -O2 and use a large text file as
input the code run