User Details
- User Since
- Oct 16 2017, 8:24 AM (112 w, 4 d)
- Roles
- Administrator
Aug 15 2019
Dec 3 2018
If I could, I'd give you extra points for the HHGTTG references.
Nov 28 2018
Looks good to me!
- Tests for T14375
- Remove NOINLINE on allocaBytes... functions
Added tests.
This patch should have gone into D4110.
Nov 27 2018
Nov 26 2018
Manually rebased onto master
Nov 19 2018
Not sure if these two are actually worth fixing, but thought I'd mention them anyway.
I only see the types defined, but not the actual accessors mentioned in the comment. Are you sure you have committed all changes?
Oct 28 2018
Oct 22 2018
@bgamari See Trac #14880; the roadmap is to get step 2 committed, and after that revisit the work done in this patch, however I believe that Richard and Simon might end up rethinking this part entirely once step 2 is committed.
Oct 12 2018
- Fix some test wibbles
Oct 10 2018
- Document TyCoRep changes better
Oct 8 2018
- Remove commented-out code, turn it into Note text instead.
Oct 4 2018
Rebase onto current master
Oct 1 2018
Is there any test that reflects this change?
Hmm, the ticket talks about making this feature opt-in, which makes a lot of sense to me, but this patch just drops the feature entirely. What's the reasoning behind this?
Sep 27 2018
Sep 14 2018
Sep 13 2018
Assembled a Note from various snippets from the Trac issue and surrounding discussion. Feel free to edit rigorously.
- Add Note [Closing over free variable kinds]
- Add Note [Closing over free variable kinds]
Fixup
Use extendVarSet, not unionFV
Use Interesting Function
Sep 10 2018
- Bugfix
Sep 7 2018
OK, so I added test3 from the ticket, which probably reflects the problem most accurately. I don't think adding more of the test cases would add much.
- Add Notes for Trac #15578
- Fix test for Trac #15578
- Add regression test for Trac #15578
- Add regression test for Trac #15578
Aug 29 2018
I suggest continuing the discussion on Trac 15363 rather than here, if only to preserve it for future generations.
Aug 28 2018
That build failure is strange. Apparently enabling -O2 on stage1 triggers a bug that doesn't surface on Linux. gcc vs. clang, possibly?
Ideally I'd like to see this tested on more machines and platforms, but if those timings are anywhere near accurate, I'd expect those to match too.
These look useful, but I'm not sure how reluctant we are to add more things to base just like that.
I agree that this should be properly solved eventually. Workaround looks fine though.
Aug 27 2018
Could you maybe add a test or two? You already have an example program that would highlight a regression.
I have trouble understanding what this would buy us. 452 lines of Windows-specific code are a liability (most GHC devs are not on Windows, and aren't keen on maintaining nontrivial Windows code), so the benefit would have to be substantial to make it worthwhile.
Jul 9 2018
I've looked a bit deeper, and it turns out that the "bug" isn't really a bug - essentially what bytestring is doing here is re-exporting findSubstring from Data.ByteString from Data.ByteString.Char8. More details in the ticket (Trac #15337).
Well, here's the relevant bit from the build log:
Jul 5 2018
Looks like the build fails because it can't find some .o files. Might want to look into that.
Jul 4 2018
Would it be possible to see the performance improvements reflected in the test suite somewhere? E.g., by adding a test that compiles a program that would benefit a lot from this in terms of compilation time?
- Please fix the parser error / build failure
- A more descriptive commit message would be great
Jun 21 2018
Apart from the stylistic remarks; I wonder whether this change would pull its weight. The Mach- prefix doesn't seem entirely outrageous to me (after all, these are things that are supposed to be "close to the metal" or "in machine format"), and changing them has a bit of an impact wrt future patches, merging, etc. But I really can't judge which way the balance would tip.
What about those failing CI tests? I can't make perfect sense of it, but IIUC, one test now allocates 16% less (which is to be expected, I think?), while another test now fails.
Jun 18 2018
Jun 13 2018
I think this deserves a proper discussion in a Trac issue, with some background information and concrete motivating examples.
Is there some ticket associated with this? Do we know the context in which it allocated too much? *Someone* has clearly run into this in the past, and before undoing the "fix", I'd like some assertion that the problem has actually gone away, rather than us just not running it in the circumstances that trigger it.
Fantastic, thanks a lot.
Jun 12 2018
Abandoning in favor of D4830.
This solves the same problem as D4833, but seems like a more elegant solution, so I suggest we roll with this patch instead of mine.
- Disable error deferring in interactive statements
- Documentation
- Test for Trac #14963 workaround
- Updated test output
- Override interactive dynflags, not session
- Updated test output
May 31 2018
Your test is failing on OS X; seems to be a difference in how the wc implementations format their output - the Linux one left-aligns the 0, while the OS X one pads it with spaces. A not very elegant, but effective, solution would be to throw a quick sed job into the pipeling, something like | sed -e 's/^\s*//' maybe?
May 30 2018
Might be confusing for an unsuspecting reader to read hints about swapping the branches of a conditional, and then seeing code that also reduces conditionals down to just the plain branches.
Updated to reflect changed output in tests, and adding -Werror to tests that should fail.
May 29 2018
Marking as "request changes", because this is clearly WIP.