diff options
author | Sylvain Henry <hsyl20@gmail.com> | 2018-05-13 11:36:28 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-05-13 18:32:20 -0400 |
commit | 7c665f9ce0980ee7c81a44c8f861686395637453 (patch) | |
tree | b8a90c2da2d364bdd7703c0f265d1f7adf4d0c28 /testsuite/tests/perf | |
parent | 2188427015e384410fcb7ec9114f5e7f0e2ad6f0 (diff) | |
download | haskell-7c665f9ce0980ee7c81a44c8f861686395637453.tar.gz |
Refactor LitString
Refactor LitString so that the string length is computed at most once
and then stored.
Also remove strlen and memcmp wrappers (it seems like they were a
workaround for a very old GCC when using -fvia-C).
Bumps haddock submodule.
Reviewers: bgamari, dfeuer, nickkuk
Reviewed By: bgamari, nickkuk
Subscribers: nickkuk, dfeuer, thomie, carter
Differential Revision: https://phabricator.haskell.org/D4630
Diffstat (limited to 'testsuite/tests/perf')
-rw-r--r-- | testsuite/tests/perf/compiler/all.T | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T index 6b0bd43aa0..02668cf8d5 100644 --- a/testsuite/tests/perf/compiler/all.T +++ b/testsuite/tests/perf/compiler/all.T @@ -596,7 +596,7 @@ test('T5321FD', # (due to better optCoercion, 5e7406d9, #9233) # 2016-04-06: 250757460 (x86/Linux) - (wordsize(64), 415136648, 10)]) + (wordsize(64), 371826136, 10)]) # prev: 418306336 # 29/08/2012: 492905640 # (increase due to new codegen) @@ -618,6 +618,7 @@ test('T5321FD', # 2016-07-16: 477840432 # Optimize handling of built-in OccNames # 2017-05-14: 415136648 (amd64/Linux) Two-pass CmmLayoutStack + # 2018-04-24: 371826136 (amd64/Linux) Store size in LitString ], compile,['']) |