<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/haskell.git, branch wip/lower-tc-tracing-cost</title>
<subtitle>gitlab.haskell.org: ghc/ghc.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/'/>
<entry>
<title>Avoid unnecessary allocations due to tracing utilities</title>
<updated>2020-05-26T01:24:31+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2020-04-14T04:53:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=f410697319fbd2336af5fbf6ab8ca8334fd4b32b'/>
<id>f410697319fbd2336af5fbf6ab8ca8334fd4b32b</id>
<content type='text'>
While ticky-profiling the typechecker I noticed that hundreds of
millions of SDocs are being allocated just in case -ddump-*-trace is
enabled. This is awful.

We avoid this by ensuring that the dump flag check is inlined into the
call site, ensuring that the tracing document needn't be allocated
unless it's actually needed.

See Note [INLINE conditional tracing utilities] for details.

Fixes #18168.

Metric Decrease:
  T9961
  haddock.Cabal
  haddock.base
  haddock.compiler
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While ticky-profiling the typechecker I noticed that hundreds of
millions of SDocs are being allocated just in case -ddump-*-trace is
enabled. This is awful.

We avoid this by ensuring that the dump flag check is inlined into the
call site, ensuring that the tracing document needn't be allocated
unless it's actually needed.

See Note [INLINE conditional tracing utilities] for details.

Fixes #18168.

Metric Decrease:
  T9961
  haddock.Cabal
  haddock.base
  haddock.compiler
</pre>
</div>
</content>
</entry>
<entry>
<title>GHC.Core.Unfold: Refactor traceInline</title>
<updated>2020-05-09T22:38:46+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2020-05-09T22:17:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=fdcb8f736e45cdebb8cef2e8675d547263529004'/>
<id>fdcb8f736e45cdebb8cef2e8675d547263529004</id>
<content type='text'>
This reduces duplication as well as fixes a bug wherein -dinlining-check
would override -ddump-inlinings. Moreover, the new variant
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reduces duplication as well as fixes a bug wherein -dinlining-check
would override -ddump-inlinings. Moreover, the new variant
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused SEGMENT_PROT_RWX</title>
<updated>2020-05-08T19:29:45+00:00</updated>
<author>
<name>Greg Steuck</name>
<email>greg@nest.cx</email>
</author>
<published>2020-05-03T04:11:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=86c77b36628dcce7bc9b066fc24c8c521fecc3ee'/>
<id>86c77b36628dcce7bc9b066fc24c8c521fecc3ee</id>
<content type='text'>
It's been unused for a year and is problematic on any OS which
requires W^X for security.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's been unused for a year and is problematic on any OS which
requires W^X for security.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix specialisation for DFuns</title>
<updated>2020-05-08T19:29:41+00:00</updated>
<author>
<name>Simon Peyton Jones</name>
<email>simonpj@microsoft.com</email>
</author>
<published>2020-05-01T13:48:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=88e3c8150d2b2d96c3ebc0b2942c9af44071c511'/>
<id>88e3c8150d2b2d96c3ebc0b2942c9af44071c511</id>
<content type='text'>
When specialising a DFun we must take care to saturate the
unfolding.  See Note [Specialising DFuns] in Specialise.

Fixes #18120
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When specialising a DFun we must take care to saturate the
unfolding.  See Note [Specialising DFuns] in Specialise.

Fixes #18120
</pre>
</div>
</content>
</entry>
<entry>
<title>Reject all duplicate declarations involving DuplicateRecordFields (fixes #17965)</title>
<updated>2020-05-08T19:29:41+00:00</updated>
<author>
<name>Adam Gundry</name>
<email>adam@well-typed.com</email>
</author>
<published>2020-04-27T22:22:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=7a763cff78d2d4b23d05554e68138678cb4ba627'/>
<id>7a763cff78d2d4b23d05554e68138678cb4ba627</id>
<content type='text'>
This fixes a bug that resulted in some programs being accepted that used the same
identifier as a field label and another declaration, depending on the order they
appeared in the source code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a bug that resulted in some programs being accepted that used the same
identifier as a field label and another declaration, depending on the order they
appeared in the source code.
</pre>
</div>
</content>
</entry>
<entry>
<title>Apply more suggestions from Simon Jakobi</title>
<updated>2020-05-08T19:29:40+00:00</updated>
<author>
<name>Joseph C. Sible</name>
<email>3439-josephcsible@users.noreply.gitlab.haskell.org</email>
</author>
<published>2020-04-26T18:23:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=926d2aab83dc6068cba76f71a19b040eddc6dee9'/>
<id>926d2aab83dc6068cba76f71a19b040eddc6dee9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Apply suggestion to libraries/base/Data/Monoid.hs</title>
<updated>2020-05-08T19:29:40+00:00</updated>
<author>
<name>Joseph C. Sible</name>
<email>3439-josephcsible@users.noreply.gitlab.haskell.org</email>
</author>
<published>2020-04-26T18:21:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=cdd229fff24ab19a41dd2af218108dd8c514fff7'/>
<id>cdd229fff24ab19a41dd2af218108dd8c514fff7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Document lawlessness of Ap's Num instance</title>
<updated>2020-05-08T19:29:40+00:00</updated>
<author>
<name>Joseph C. Sible</name>
<email>3439-josephcsible@users.noreply.gitlab.haskell.org</email>
</author>
<published>2020-04-26T17:47:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=bb35c0e573b0bc8fe6a28c00734fa124da02a755'/>
<id>bb35c0e573b0bc8fe6a28c00734fa124da02a755</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add `forAllOrNothing` function with note</title>
<updated>2020-05-08T19:29:36+00:00</updated>
<author>
<name>John Ericson</name>
<email>John.Ericson@Obsidian.Systems</email>
</author>
<published>2020-04-22T19:59:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=09ac8de5777d5ca953279a6c0ee42a6fba0fcba6'/>
<id>09ac8de5777d5ca953279a6c0ee42a6fba0fcba6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>A few tiny style nits with renaming</title>
<updated>2020-05-08T19:29:36+00:00</updated>
<author>
<name>John Ericson</name>
<email>John.Ericson@Obsidian.Systems</email>
</author>
<published>2020-04-22T05:01:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=20570b4b5e741912d1dc3f1826ee1f78e33f3b90'/>
<id>20570b4b5e741912d1dc3f1826ee1f78e33f3b90</id>
<content type='text'>
 - Use case rather than guards that repeatedly scrutenize same thing.

 - No need for view pattern when `L` is fine.

 - Use type synnonym to convey the intent like elsewhere.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Use case rather than guards that repeatedly scrutenize same thing.

 - No need for view pattern when `L` is fine.

 - Use type synnonym to convey the intent like elsewhere.
</pre>
</div>
</content>
</entry>
</feed>
