0
comment
on 4/11/2015 7:40 AM
Let's compare how fast Rust, D and F# (.NET actually) at computing cryptography hashes, namely MD5, SHA1, SHA256 and SHA512. We're going to use rust-crypto cargo:Results:MD5 - 3.39s SHA1 - 2.89s SHA256 - 6.97sSHA512 - 4.47sNow the F# code: Results:MD5 - 2.35s (30% faster)SHA1 - 2.95s (2% slower)SHA256 - 16.56s (137% slower)SHA512 - 61.92s (1385% slower (!))And finally D: MD5 - 16.05s (470% slower)SHA1 - 2.35s (19% faster)SHA256 - 47.96s (690% slower (!))SHA512 - 61.47s (1375% slower (!))Interesting things:[...]
>> Read the full article on vaskir.blogspot.com
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper