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 an improved Rust version that iterates chars just once #3

Merged
merged 1 commit into from Nov 16, 2017

Conversation

Projects
None yet
2 participants
@cuviper
Copy link
Contributor

cuviper commented Nov 16, 2017

----------------------------------------------------------------------------------------
Name (time in us)             Min                    Max                   Mean
----------------------------------------------------------------------------------------
test_rust_once           694.0350 (1.0)         741.8010 (1.0)         695.5648 (1.0)
test_rust              1,806.4040 (2.60)      1,935.9130 (2.61)      1,812.6250 (2.61)
test_regex            14,219.5200 (20.49)    14,421.8970 (19.44)    14,244.1962 (20.48)
test_pure_python      31,766.5810 (45.77)    52,128.1230 (70.27)    35,289.6043 (50.74)
----------------------------------------------------------------------------------------
Add an improved Rust version that iterates chars just once
----------------------------------------------------------------------------------------
Name (time in us)             Min                    Max                   Mean
----------------------------------------------------------------------------------------
test_rust_once           694.0350 (1.0)         741.8010 (1.0)         695.5648 (1.0)
test_rust              1,806.4040 (2.60)      1,935.9130 (2.61)      1,812.6250 (2.61)
test_regex            14,219.5200 (20.49)    14,421.8970 (19.44)    14,244.1962 (20.48)
test_pure_python      31,766.5810 (45.77)    52,128.1230 (70.27)    35,289.6043 (50.74)
----------------------------------------------------------------------------------------

@rochacbruno rochacbruno merged commit 08eec33 into rochacbruno:master Nov 16, 2017

@cuviper cuviper referenced this pull request Nov 16, 2017

Closed

Speeding up count_doubles() #2

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