On Fri, 04 Dec 2009 20:05:13 -0800, Walter Bright <newshou...@digitalmars.com> wrote:
>Probably the biggest thing is opDispatch! > >http://www.digitalmars.com/d/1.0/changelog.html >http://ftp.digitalmars.com/dmd.1.053.zip > > >http://www.digitalmars.com/d/2.0/changelog.html >http://ftp.digitalmars.com/dmd.2.037.zip > >Many thanks to the numerous people who contributed to this update. This code: int[3] a = [1, 2, 3]; allocates the literal on heap and then copies it to 'a'. A call to a library function has to be made to avoid the allocation. Can we have such allocations optimized out?