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

Speeding up line parsing #62

Merged
merged 5 commits into from
Oct 24, 2019
Merged

Speeding up line parsing #62

merged 5 commits into from
Oct 24, 2019

Conversation

jsubercaze
Copy link

Speed-up the read line by moving from the regexp based replaceAll to charsequence matching replace
On the Freebase dump, I noticed a gain between 10 and 15% depending on the machine.

@mielvds
Copy link
Member

mielvds commented Oct 17, 2019

So I'm not sure whether this doesn't break any other parsing scenarios...

@mielvds
Copy link
Member

mielvds commented Oct 17, 2019

the replacethat is, the binary search is great.

@jsubercaze
Copy link
Author

The conflicts are pretty straightforward

@mielvds mielvds merged commit 676490b into rdfhdt:master Oct 24, 2019
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.

2 participants