Skip to content
New issue

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

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

Already on GitHub? # to your account

fix problem "failed to recognize file format" on valid gc-log #44

Merged
merged 1 commit into from
Nov 6, 2012

Conversation

skripalschikov
Copy link
Contributor

Problem: specific chars of GC type not in first 3 KB.

This does not completely solve the problem, but reduces its impact.
Corrections do not violate the concept of code. Therefore, the speed of the worst situations is not the best possible.

@chewiebug chewiebug merged commit a0821f3 into chewiebug:master Nov 6, 2012
@chewiebug
Copy link
Owner

Hi Andrey,

Thank you very much for providing this fix! In my expirience it is quite rare that recognition of the correct DataReader is not possible within the first 3KB so it is enough to reduce the probability that the problem occurs with what your implementation does. I have made a few tests - worst case speed is good enough for me.

Regards, Jörg

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants