News for hackers. Stuff that matters.
Re:Redis re-implemented in Rust by Tuna-Fish on Friday June 19, 2015 @08:02AM (#9744129)
Your guess about 'a is correct. 'a is here used to signify that the return value can only be safely used while the value table exists and is not being concurrently modified. This implies that the value is not copied on return, but only a reference into the table is returned.
Re:Redis re-implemented in Rust by pygy_ on Friday June 19, 2015 @08:20AM (#9744201)
I'm surprised that RawTable isn't parametrized on the type of hash function. Something like this (possibly wrong way to express it, but you get the idea)

    fn search_entry_hashed<'a, K: Eq, V, H: SafeHash>(table: &'a mut RawTable<K,V,H>, hash: H, k: K)
        -> Entry<'a, K, V>
Re:Redis re-implemented in Rust by Jweb_Guru on Friday June 19, 2015 @11:10AM (#9745302)
RawTable doesn't have to be because the hash function has already been computed at that point. The actual hash table is.