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

Parser.Parse takes around 18s to parse the 58K file #22

Open
Metalnem opened this Issue Dec 24, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@Metalnem
Copy link

Metalnem commented Dec 24, 2018

Parser.Parse takes around 18s to parse the 58K file from the attached archive. You can run the following code to reproduce it (the path variable should contain the path to the extracted file):

var text = File.ReadAllText(path);
var parser = new Parser(new Lexer());
parser.Parse(new Source(text));

Found via SharpFuzz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment