Skip to content

Conversation

@cpoli87
Copy link

@cpoli87 cpoli87 commented Mar 30, 2018

The Go version, even without routines outperforms, by far, the Java version.

I tried to put every file to be parsed in one different Go routine. Maybe it is possible to put every line to be parsed in a different thread too.

The regex to find names of functions was the worst part. It's hard to build one regex the get all types of functions considering that every language has its grammar.

I sent the Java files too if interested. However, I did not use threads.

I commented the code. Any doubt please contact me: [email protected]

PS.: I'd like to thanks for the opportunity. I was new with Go language, so I went from 0 knowledge to ... something during this challenge.

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.

1 participant