Skip to content

Conversation

@niXman
Copy link
Contributor

@niXman niXman commented Nov 3, 2016

Hi,

This simple PR speeds up ~13% of parsing time.

Tested using GCC-6.2.0.

@niXman
Copy link
Contributor Author

niXman commented Nov 3, 2016

Travis is broken? ;)

/home/travis/build.sh: line 47: [: !=: unary operator expected

@niXman
Copy link
Contributor Author

niXman commented Nov 4, 2016

The second PR saves ~9% of parsing time.

100% tests passed, 0 tests failed out of 408

@niXman
Copy link
Contributor Author

niXman commented Nov 4, 2016

ping?

@lefticus
Copy link
Member

lefticus commented Nov 7, 2016

I'm busy with other work right now, I'll get back to ChaiScript pull requests shortly.

@lefticus
Copy link
Member

What tests are you using to determine parsing time?

@niXman
Copy link
Contributor Author

niXman commented Nov 20, 2016

I used compiled_tests and integer_literal_test tests.

Callgrind files for original and optimised version in attachments. You can view it using kcachegrind.
chaiscript-callgrind.zip

@lefticus lefticus merged commit 1ea91fa into ChaiScript:develop Dec 1, 2016
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