TyOverby / ares

A Lisp made for easy integration with Rust.
9 stars 1 forks source link

Make new hasher that is specific for hashing u32 keys #26

Open TyOverby opened 9 years ago

TyOverby commented 9 years ago

Sadly, I didn't notice until later that custom hashers was behind a feature-gate :sob:

TyOverby commented 8 years ago

(fib 25)

Without faster hashing

real 0m8.767s user 0m8.722s sys 0m0.043s

With faster hashing

real 0m6.101s user 0m6.065s sys 0m0.033s

bwo commented 8 years ago
src/lib.rs:1:1: 1:28 error: #[feature] may not be used on the beta release channel
src/lib.rs:1 #![feature(hashmap_hasher)]

:(

TyOverby commented 8 years ago

Yep. I'm going to maintain this and keep it up to date because it is going to happen eventually. Such a shame that custom hashing isn't stable yet.