Login  Register

Difference between Set and HashedCollection

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Difference between Set and HashedCollection

Benjamin Van Ryseghem
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Difference between Set and HashedCollection

Igor Stasenko
9533 posts
HashedCollection is an abstract base class, which contains common
behavior for all hash-based collections,
including Set, Dictionary etc.

On 18 October 2010 13:04, Benjamin Van Ryseghem
<[hidden email]> wrote:

> I was looking in Pharo sources and I do not understand the difference
> between Set and HashedCollection which both seems to work the same way.
>
>
> Benjamin
> _______________________________________________
> Pharo-users mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>
>



--
Best regards,
Igor Stasenko AKA sig.

_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Difference between Set and HashedCollection

Stéphane Ducasse
17193 posts
In reply to this post by Benjamin Van Ryseghem
and we should clean it because it was introduced a bit fast in pharo :)

On Oct 18, 2010, at 12:29 PM, Igor Stasenko wrote:

> HashedCollection is an abstract base class, which contains common
> behavior for all hash-based collections,
> including Set, Dictionary etc.
>
> On 18 October 2010 13:04, Benjamin Van Ryseghem
> <[hidden email]> wrote:
>> I was looking in Pharo sources and I do not understand the difference
>> between Set and HashedCollection which both seems to work the same way.
>>
>>
>> Benjamin
>> _______________________________________________
>> Pharo-users mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
> _______________________________________________
> Pharo-users mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users


_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Difference between Set and HashedCollection

Andres Valloud-4
471 posts
Generally speaking, the storage strategy should be dissociated from the
hashed functionality that is to be provided.  In other words, open
addressing linear probing and hash buckets should be swappable under set
(or dictionary, etc).

On 10/18/10 9:31 , Stéphane Ducasse wrote:

> and we should clean it because it was introduced a bit fast in pharo :)
>
> On Oct 18, 2010, at 12:29 PM, Igor Stasenko wrote:
>
>> HashedCollection is an abstract base class, which contains common
>> behavior for all hash-based collections,
>> including Set, Dictionary etc.
>>
>> On 18 October 2010 13:04, Benjamin Van Ryseghem
>> <[hidden email]>  wrote:
>>> I was looking in Pharo sources and I do not understand the difference
>>> between Set and HashedCollection which both seems to work the same way.
>>>
>>>
>>> Benjamin
>>> _______________________________________________
>>> Pharo-users mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>
>>>
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>>
>> _______________________________________________
>> Pharo-users mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>
>
> _______________________________________________
> Pharo-users mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>

_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users