Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Unmarshal for Go #234

Merged
merged 2 commits into from
Feb 10, 2020
Merged

Use Unmarshal for Go #234

merged 2 commits into from
Feb 10, 2020

Conversation

proyb6
Copy link
Contributor

@proyb6 proyb6 commented Feb 9, 2020

Remove the conversion to string part, it can read json file into struct, result in less code.

Original:
Memory: <411MB
Time: 1.95s

New Code:
Memory: 215MB
Time: 1.7s

Original:
Memory: <411MB
Time: 1.95s

New Code:
Memory: 215MB
Time: 1.7s
@nuald
Copy link
Collaborator

nuald commented Feb 9, 2020

Looks good, but could you please apply gofmt as looks like there are inconsistent indentation in the changed code.

@proyb6
Copy link
Contributor Author

proyb6 commented Feb 10, 2020

@nuald Thanks, formatted.

@nuald nuald merged commit 2b63f5b into kostya:master Feb 10, 2020
@proyb6 proyb6 mentioned this pull request Feb 10, 2020
nuald added a commit to nuald/benchmarks that referenced this pull request Feb 10, 2020
nuald added a commit that referenced this pull request Feb 10, 2020
* Maintenance update.

* Follow ups for #231 and #234.
nuald added a commit that referenced this pull request Apr 2, 2020
* Maintenance update.

* Follow ups for #231 and #234.

* Maintenance update.

* Additional updates.

* Results have been updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants