Skip to content

Commit

Permalink
Updates release notes for PR #4112
Browse files Browse the repository at this point in the history
  • Loading branch information
ponylang-main committed May 13, 2022
1 parent 3a623e0 commit 80861c9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .release-notes/4112.md

This file was deleted.

8 changes: 8 additions & 0 deletions .release-notes/next-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ Previously our glibc Linux Docker images where based on Ubuntu 20.04. They've be

We've updated the LLVM used to build Pony to 14.0.3.

## Don't include debug information in release versions of ponyc

At some point in the past, we turned on an option PONY_ALWAYS_ASSERT when building ponyc and the runtime. The result of this option was to not only turn on all debug assertions, but also, turn on almost all debug code in the runtime and the ponyc compiler.

The inclusion of assertions was great for error reports from users for compiler bugs. However, it was also including code that would make the compiler slower and use more memory. It was also including code that made the runtime slower for all compiled Pony programs.

We've turned off PONY_ALWAYS_ASSERT. Programs will be somewhat faster, the compiler will be a little faster, and the compiler will use a little less memory. In return, if you report a compiler bug, we'll definitely need a minimal reproduction to have any idea what is causing your bug.

0 comments on commit 80861c9

Please sign in to comment.