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

Arc for data ref in Context #168

Merged
merged 2 commits into from
Jul 13, 2017
Merged

Arc for data ref in Context #168

merged 2 commits into from
Jul 13, 2017

Conversation

sunng87
Copy link
Owner

@sunng87 sunng87 commented Jul 12, 2017

This is follow up for #167 that I'm now using Arc for data ref so we don't have to clone data and create new context when changing data in directives.

The performance is almost identical to the Rc one:

test large_loop_helper ... bench:   3,238,791 ns/iter (+/- 187,867)

@sunng87 sunng87 merged commit db372e1 into master Jul 13, 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.

1 participant