Dictionary newFromKeys: andValues:
Hi I was looking at the Dictionary instance creation API and I would like to add newFromKeys:andValues: Because I do not see why I have to create associations when I have already the two collections. What do you think? Stef
Yes I think this is good. On Fri, Dec 15, 2017 at 8:32 PM, Stephane Ducasse <stepharo.self@gmail.com> wrote:
Hi
I was looking at the Dictionary instance creation API and I would like to add newFromKeys:andValues: Because I do not see why I have to create associations when I have already the two collections. What do you think?
Stef
-- Guille Polito Research Engineer Centre de Recherche en Informatique, Signal et Automatique de Lille CRIStAL - UMR 9189 French National Center for Scientific Research - *http://www.cnrs.fr <http://www.cnrs.fr>* *Web:* *http://guillep.github.io* <http://guillep.github.io> *Phone: *+33 06 52 70 66 13
Thanks I will rework my PR because I lost some code and also did not see that SmallDictionary is not a HashedCollection On Mon, Dec 18, 2017 at 11:38 AM, Guillermo Polito < guillermopolito@gmail.com> wrote:
Yes I think this is good.
On Fri, Dec 15, 2017 at 8:32 PM, Stephane Ducasse <stepharo.self@gmail.com
wrote:
Hi
I was looking at the Dictionary instance creation API and I would like to add newFromKeys:andValues: Because I do not see why I have to create associations when I have already the two collections. What do you think?
Stef
--
Guille Polito
Research Engineer
Centre de Recherche en Informatique, Signal et Automatique de Lille
CRIStAL - UMR 9189
French National Center for Scientific Research - *http://www.cnrs.fr <http://www.cnrs.fr>*
*Web:* *http://guillep.github.io* <http://guillep.github.io>
*Phone: *+33 06 52 70 66 13 <+33%206%2052%2070%2066%2013>
participants (2)
-
Guillermo Polito -
Stephane Ducasse