No, it doesn't. Appending to a null array is equivalent to allocating a new array.
On Mon, May 14, 2012 at 6:29 PM, H. S. Teoh <[email protected]> wrote: > On Mon, May 14, 2012 at 05:00:25PM +0400, Gor Gyolchanyan wrote: > > I think any kind of null array should be different from an array of > > zero length. > > But that defeats the utility of idioms like: > > int[] arr; > arr ~= 123; > ... > > > T > > -- > There are four kinds of lies: lies, damn lies, and statistics. > -- Bye, Gor Gyolchanyan.
