Skip to content
Snippets Groups Projects
  1. Jan 19, 2012
  2. Jan 18, 2012
  3. Jan 09, 2012
  4. Jan 06, 2012
  5. Dec 22, 2011
  6. Dec 21, 2011
  7. Dec 19, 2011
  8. Dec 08, 2011
  9. Nov 30, 2011
  10. Nov 24, 2011
  11. Nov 23, 2011
  12. Nov 18, 2011
  13. Nov 17, 2011
  14. Nov 16, 2011
    • Iustin Pop's avatar
      htools: rework message display construction · bdd8c739
      Iustin Pop authored
      
      While diagnosing some (unrelated) memory usage in htools, I've
      stumbled upon some very bad behaviour in checkData: mapAccum is
      non-strict, and the tuple we use also, so that results in the list of
      list of messages being very bad space-wise (hundreds of MB of memory
      for a simulated cluster with thousands of nodes, all with errors).
      
      The new, explicit reuse of the old message list has a linear memory
      behaviour. The only downside is that messages are listed in the
      reverse order (which I'll fix on master).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      bdd8c739
Loading