Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Preliminaries/what_makes_fast_hs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ of a ``Counter`` data type that tracks some domain specific integer:
Normally, when compiling with ``-O2`` GHC will recognize and optimize this definition.

``Int`` is a :term:`Boxed` and :term:`Lifted` type in ``Counter``, this means
that each ``Counter`` holds a pointer to an ``Int`` on the heap *not* a pointer
to an ``Int`` directly. We can instruct GHC remove the heap indirection with the
that each ``Counter`` holds a pointer to an ``Int`` on the heap, *not*
an ``Int`` directly. We can instruct GHC remove the heap indirection with the
`unpack
<https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/exts/pragmas.html?highlight=unpack#unpack-pragma>`_
pragma and a bang pattern:
Expand Down
Loading