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

Add self tests and benchmarks for parsing and evaluating expressions #222

Merged
merged 3 commits into from
Jul 14, 2017

Conversation

philipc
Copy link
Collaborator

@philipc philipc commented Jul 14, 2017

Also added an Expression newtype, to make it easier for a user to find out what to do with the contents of AttributeValue::Exprloc and LocationListEntry. Maybe we want to have separate newtypes for expressions and locations? Not sure if it adds any value.

@philipc
Copy link
Collaborator Author

philipc commented Jul 14, 2017

The expression evaluations are dominated by allocations. Maybe https://github.com/servo/rust-smallvec is worth using.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 93.911% when pulling 767afee on philipc:op into a2ef012 on gimli-rs:master.

@fitzgen
Copy link
Member

fitzgen commented Jul 14, 2017

The expression evaluations are dominated by allocations. Maybe https://github.com/servo/rust-smallvec is worth using.

👍

Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome :)

@fitzgen fitzgen merged commit fc8f07c into gimli-rs:master Jul 14, 2017
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.

None yet

3 participants