One-shot semantics in GHC event manager
Bas van Dijk
v.dijk.bas at gmail.com
Fri Oct 17 12:34:28 UTC 2014
Hi Ben, Austin,
Is there any chance of Ben's event manager patch landing in GHC-7.8.4?
On 13 October 2014 21:05, Ben Gamari <bgamari.foss at gmail.com> wrote:
> Ben Gamari <bgamari.foss at gmail.com> writes:
>> Andreas Voellmy <andreas.voellmy at gmail.com> writes:
>>> On Sat, Oct 11, 2014 at 12:17 PM, Ben Gamari <bgamari.foss at gmail.com> wrote:
>>> Ah... so this is not useful to you. I guess we could add `loop` to
>>> GHC.Event's export list. On the other hand, I like your LifeTime proposal
>>> better and then no one needs `loop`, so let's try this first.
>> I have a first cut of this here . It compiles but would be I shocked
>> if it ran. All of the pieces are there but I need to change
>> EventLifetime to a more efficient encoding (there's no reason why it
>> needs to be more than an Int).
> As it turns out the patch seems to get through the testsuite after a few
> minor fixes.
> What other tests can I subject this to? I'm afraid I don't have the
> access to any machine even close to the size of those that the original
> event manager was tested on so checking for performance regressions will
> be difficult.
> - Ben
> ghc-devs mailing list
> ghc-devs at haskell.org
More information about the ghc-devs