Changes between Version 35 and Version 36 of WikiStart
- Timestamp:
- Jun 14, 2011, 12:28:07 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v35 v36 32 32 33 33 Q: Why is my program so slow? [[br]] 34 A: Probably because you haven't forced your source arrays before traversing them, or haven't added enough INLINE pragmas. In particular you shouldforce image arrays read with the BMP routines before traversing them. Read [http://www.haskell.org/haskellwiki/Numeric_Haskell:_A_Repa_Tutorial#Optimising_Repa_programs the optimisation section] in the tutorial, then [http://stackoverflow.com/questions/6300428/poor-performance-with-transpose-and-cumulative-sum-in-repa/6340867#6340867 This Answer] on Stack Overflow. If it's still a problem then continue on...34 A: Probably because you haven't forced your source arrays before traversing them, or haven't added enough INLINE pragmas. In particular you may need to force image arrays read with the BMP routines before traversing them. Read [http://www.haskell.org/haskellwiki/Numeric_Haskell:_A_Repa_Tutorial#Optimising_Repa_programs the optimisation section] in the tutorial, then [http://stackoverflow.com/questions/6300428/poor-performance-with-transpose-and-cumulative-sum-in-repa/6340867#6340867 This Answer] on Stack Overflow. If it's still a problem then continue on... 35 35 36 36 Q: Where do I ask further questions? [[br]]