Added functional programming version of go bf2#113
Open
lologarithm wants to merge 2 commits intokostya:masterfrom
Open
Added functional programming version of go bf2#113lologarithm wants to merge 2 commits intokostya:masterfrom
lologarithm wants to merge 2 commits intokostya:masterfrom
Conversation
Owner
|
hm seems this is slower for bench.b, 5.36s -> 5.57s, for mandel.b it faster 100s -> 70s, but for gccgo it also slower. |
Author
|
That seems strange it would be slower for bench.b but faster for mandel.b. I didn't test with gccgo locally (only go 1.7.3 on ubuntu 16.04). I can do some more benching and see if I can figure out why that would be. Could you try a few times and see if that time was just a fluke? |
Author
|
mandel.b For bench.b I see I ran the tests about 10 times and didn't see much divergence from what I pasted here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Made a version of the go interpreter that matches the Scala implementation instead of the standard struct based system.
Performance is better as well :)