on 5/22/2016 9:00 AM
Let's compare performance of hashmap implementation in Rust, .NET, D (LDC) and Go.Rust: F#: As you can see, Rust is slower at about 17% on insersions and at about 21% on lookups. UpdateAs @GolDDranks suggested on Twitter, since Rust 1.7 it's possible to use custom hashers in HashMap. Let's try it: Yes, it's significantly faster: additions is only 5% slower than .NET implementation, and lookups are 32% *faster*! Great. Update: D addedLDC x64 on windows It's very slow at insertions and quite fast on loo[...]
>> 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 | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper