Hi all,

 

I have a problem with Dictionaries : 

 

dic := Dictionary new: 10000.

 

1 to: 10000 do:[ :i |

            dic at: i put: i printString.

].

 

1 to: 10000 do:[ :i |

            dic removeKey: i.      

]

 

Removing each keys is very slooow, time execution difference between add and remove is crazy.

Any idea for fix that ? Can I use another Dictionary implementation or settings ?

 

Thanks.

 

Pierre