Re: [Vala] Problem with Gee

thats typical for all hash tables. A good hash function will randomly
distribute the keys in the table and so will almost never be in the
order you add them
If you want order, use a list but not a dict or a hash

the hashmap is not sorted. I suggest you read the wikipedia article on
hashmaps and it should be obvious why.

Thanks everyone for your response, i'm using a list and get the value "in order" in the dict !

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]