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

Avoid allocations on memory operations #112

Merged
merged 1 commit into from
Jul 26, 2018
Merged

Avoid allocations on memory operations #112

merged 1 commit into from
Jul 26, 2018

Conversation

arkpar
Copy link
Contributor

@arkpar arkpar commented Jul 26, 2018

Fixes #101

@pepyakin
Copy link
Collaborator

 name               master-a605175ab.bench ns/iter  ark-allocs-73fbccaa4.bench ns/iter  diff ns/iter   diff %  speedup
 bench_regex_redux  9,525,512                       7,109,347                             -2,416,165  -25.37%   x 1.34
 bench_rev_comp     12,549,005                      8,504,604                             -4,044,401  -32.23%   x 1.48
 bench_tiny_keccak  5,654,512                       4,880,091                               -774,421  -13.70%   x 1.16
 fac_opt            51,511                          50,128                                    -1,383   -2.68%   x 1.03
 fac_recursive      54,433                          53,466                                      -967   -1.78%   x 1.02
 recursive_ok       1,435,432                       1,363,597                                -71,835   -5.00%   x 1.05
 recursive_trap     180,653                         177,061                                   -3,592   -1.99%   x 1.02

Copy link
Collaborator

@pepyakin pepyakin left a comment

Choose a reason for hiding this comment

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

Cool, thanks!

@pepyakin pepyakin merged commit 9ed95e4 into master Jul 26, 2018
@pepyakin pepyakin deleted the ark-allocs branch July 26, 2018 11:50
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