Skip to content

Commit d7d060d

Browse files
ulysses4everdoyougnu
authored andcommitted
what_makes_fast_hs.rst: fix typo
1 parent c0e9561 commit d7d060d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Preliminaries/what_makes_fast_hs.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,16 +256,16 @@ quality); second, in order to observe it, the programmer must track the memory
256256
allocation of their program across many functions, modules and packages, which
257257
is not a common experience when writing Haskell. For our purposes', we'll
258258
inspect examples that GHC should have no problem finding and optimizing. See the
259-
:ref:`Impact of seq Removal on SBV's cache <SBV572>` case study for more.
259+
:ref:`Impact of seq Removal on SBV's cache <SBV572>` case study for an example of excessive memory allocation in a widely used library.
260260

261261
.. todo::
262262
Not yet written, see `#18 <https://github.com/input-output-hk/hs-opt-handbook.github.io/issues/18>`_
263263

264-
for an example of excessive memory allocation in a widely used library. While
264+
While
265265
GHC is good at optimizing these cases, becoming familiar with these code
266266
transformations is beneficial; it trains you to start thinking in terms of
267267
memory allocation when reading or writing Haskell code, and teaches you to
268-
perform these optimizations manually when GHC fails to optimization.
268+
perform these optimizations manually when GHC fails to optimize.
269269

270270

271271
How does Excessive Closure Allocation Slow Down Runtime Performance

0 commit comments

Comments
 (0)