On Mon, Dec 30, 2013 at 06:40:24PM +0000, Dfr wrote:
> 
> Thank you for replies, i think here i can use assoc array, but
> sometimes it is not suitable because it is not preserve order.

Maybe you can use std.container.RedBlackTree instead? That will preserve
order (but at the cost of asymptotically slower lookups / insertions).


T

-- 
People who are more than casually interested in computers should have at
least some idea of what the underlying hardware is like. Otherwise the
programs they write will be pretty weird. -- D. Knuth

Reply via email to