Re: Hiding import behaviour

2014-10-24 Thread Richard Eisenberg
Thanks for writing this up so clearly. I'm +1 on the proposal as written. I think the (smallish) drawbacks are mitigated by the fact that the whole feature is opt-in. Implementation should be relatively straightforward. Thanks, Richard On Oct 23, 2014, at 2:22 PM, htebalaka goodi...@gmail.com

Re: ghci balkiness on OS X?

2014-10-24 Thread Thomas Hallgren
I have noticed sluggish behaviour in ghci (ghc-7.8.3, OS X 10.9.5). In my case at least, it seems to be caused by the idle time full garbage collection that happens after 0.3s of idle time by default. When you have say 300MB of live data in the heap, a major GC can take 0.5s or so, and this is

Re: ghci balkiness on OS X?

2014-10-24 Thread Evan Laforge
On Fri, Oct 24, 2014 at 7:23 AM, Thomas Hallgren hallg...@chalmers.se wrote: Foruntately, the idle time GC can be turned off by running ghci +RTS -I0, and when I do that the problem goes away. Alternatively, using a longer timeout (e.g. -I2) is enough to prevent the major GCs from happening