Re: Is D associative array thread safe, and will it relocate memory when add or delete a value?

2011-12-07 Thread Martin Nowak
On Wed, 07 Dec 2011 14:51:49 +0100, Steven Schveighoffer wrote: On Wed, 07 Dec 2011 04:00:34 -0500, Jonathan M Davis wrote: On Wednesday, December 07, 2011 09:10:16 Martin Nowak wrote: On Wed, 07 Dec 2011 08:59:32 +0100, raojm wrote: > Is D associative array thread safe, and will

Re: Is D associative array thread safe, and will it relocate memory when add or delete a value?

2011-12-07 Thread Steven Schveighoffer
On Wed, 07 Dec 2011 04:00:34 -0500, Jonathan M Davis wrote: On Wednesday, December 07, 2011 09:10:16 Martin Nowak wrote: On Wed, 07 Dec 2011 08:59:32 +0100, raojm wrote: > Is D associative array thread safe, and will it relocate memory when > add or delete a value? > > Wher

Re: Is D associative array thread safe, and will it relocate memory when add or delete a value?

2011-12-07 Thread Jonathan M Davis
On Wednesday, December 07, 2011 09:10:16 Martin Nowak wrote: > On Wed, 07 Dec 2011 08:59:32 +0100, raojm wrote: > > Is D associative array thread safe, and will it relocate memory when > > add or delete a value? > > > > Where I can find the implemention. > &g

Re: Is D associative array thread safe, and will it relocate memory when add or delete a value?

2011-12-07 Thread Martin Nowak
On Wed, 07 Dec 2011 08:59:32 +0100, raojm wrote: Is D associative array thread safe, and will it relocate memory when add or delete a value? Where I can find the implemention. No it's not, and yes it has to relocate memory. It's working as a hashtable not a binary tree, so al

Re: Is D associative array thread safe, and will it relocate memory when add or delete a value?

2011-12-07 Thread Jacob Carlborg
On 2011-12-07 08:59, raojm wrote: > Is D associative array thread safe, and will it relocate memory when > add or delete a value? > > Where I can find the implemention. You should be able to find the implementation somewhere in druntime: https://github.com/D-Programming-Langu

Is D associative array thread safe, and will it relocate memory when add or delete a value?

2011-12-07 Thread raojm
Is D associative array thread safe, and will it relocate memory when add or delete a value? Where I can find the implemention.