I refactored the code and uploaded a new version to Hackage
(YamlReference-0.2). It is cleaner now and much more efficient. It is
still "leaking" memory though. The profiler hints at "bindReply" as
the culprit retaining State and Reply objects, but it isn't clear to
me why the code would do that. Trying to `seq` things again either
kills streaming or has no effect. Perhaps my basic approach is
wrong...

Any advice would be appreciated,

   Oren Ben-Kiki
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to