Am 02.07.2013 17:29, schrieb Alex Crichton:
I was looking for something like: static h:HashMap<K,C> = {(K,V),(K,V).....}. Is this possible at all?
What would be much easier is to use a sorted array and binary search for lookup. But sorting at compile time seams to be tricky, for simple values ok, but for more
complex keys I think it's impossible. Regards, Michael _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
