summaryrefslogtreecommitdiff
path: root/rts/Profiling.h
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2017-02-20 21:50:41 -0800
committerEdward Z. Yang <ezyang@cs.stanford.edu>2017-02-22 20:47:50 -0800
commit58415741882b8e350beaf81ccedb74ee9c99257d (patch)
tree33478f3282fc4448b90293c77fae06980c7f94eb /rts/Profiling.h
parent992ea02980d59eec0ac730b912fa16733a0fe0e1 (diff)
downloadhaskell-58415741882b8e350beaf81ccedb74ee9c99257d.tar.gz
Drop NFData constraint from compact.
Summary: It's both unsound (easy to write a bogus NFData instance) and incomplete (you might want to serialize data that doesn't have an NFData instance, and will be fine at runtime.) So better just to drop it. (By the way, we used to need the NFData instance to "pre-evaluate" the data before we copied it into the region, but since Simon Marlow rewrote the code to directly evaluate and copy, this is no longer necessary.) Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: validate Reviewers: simonmar, austin, dfeuer, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D3168
Diffstat (limited to 'rts/Profiling.h')
0 files changed, 0 insertions, 0 deletions