Jonathan M Davis, el 28 de mayo a las 04:58 me escribiste: > > BTW, what would be the point of an array/vector when you have built-in > > arrays? If built-in arrays would be syntax sugar for a real library type, > > like AAs, I can see as a good option using Array for that type, since > > built-in arrays and the library Array would be the same thing. > > The biggest difference is that a vector has capacity separate from its > size/length. You can efficiency insert elements at the end with a vector - > amortized constant time usually - but you can't do that with a built-in > array because it would have to reallocate every time. D's arrays are > fantastic, but they're still not quite good enough to outright replace a > vector type.
OK, I forgot that, I guess my brain choose to forget it to stop keeping the flame alive, so I'll forget all about it again =P -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Estamos cantando a la sombra de nuestra parra una canción que dice que uno sólo conserva lo que no amarra