<div dir="auto">This is interesting. Why would something like a Data.Map have a bad memory footprint? In your Aeson benchmark, what happens to memory usage if you manually trigger a GC cycle? Is hundreds of megs of memory actively being used? Or is most of it garbage waiting to be collected? </div><br><div class="gmail_quote"><div dir="ltr">On Thu 9 Aug, 2018, 9:38 PM Lana Black, <lanablack@amok.cc> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 08/09/2018 02:38 PM, Vanessa McHale wrote:<br>
> Well, the problem with that is that in a lazy language, the "parsing<br>
> stage" may not be as clearly distinguished as you suggest. Simply<br>
> forcing the evaluation of all THUNKs is not what happens in the actual<br>
> program.<br>
> <br>
<br>
True. Unfortunately, that doesn't mean the memory issue doesn't exist. <br>
Data.Map already has quite significant memory footprint, but aeson makes <br>
it even worse.<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div>