2009/7/24 Ali Sabil <ali.sa...@gmail.com>:
> On Thu, Jul 23, 2009 at 10:32 AM, Didier "Ptitjes"<ptit...@free.fr> wrote:
>>
>> Please comment and argue ;)
>
> Could you please explain the rationale behind this change ? What would
> be the benefit from  turning a Map into a collection of Pair ?

Efficient iteration over all the Map's elements. Otherwise you'd have
to retrieve a collection of keys and lookup corresponding value for
every single one of them.

> Also
> what is the exact benefit from deviating from what other widespread
> class libraries use for their containers ?
>

Define "widespread class libraries" and "deviation". If you mean Map
becoming Collection, .NET framework uses this approach for years and I
don't hear anyone complaining.
_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to