Skip to content
  • David Feuer's avatar
    Really fix fft2 regression. #9740 · 64d0a198
    David Feuer authored and Joachim Breitner's avatar Joachim Breitner committed
    Rewrite `take` more aggressively for fusion. Add some more explicit
    strictness to `unsafeTake` and `unsafeDrop` that seems to help code size and
    allocation just a drop in some nofib tests. They were not previously
    strict in their numerical arguments, but always called in contexts where
    those had been forced; it didn't make a difference in simple test cases,
    but made a small difference for nofib. See #9740.
    
    Differential Revision: https://phabricator.haskell.org/D394
    64d0a198