[Swift-devel] scalability updates

Mihael Hategan hategan at mcs.anl.gov
Sun Mar 22 10:17:07 CDT 2009


On Sun, 2009-03-22 at 12:38 +0000, Ben Clifford wrote:
> On Mon, 9 Mar 2009, Mihael Hategan wrote:
> 
> > 2. A lazy range function (the [x:y] operator). The previous one was
> > silly. Simply writing [0:1000000] would cause swift to run out of memory
> > because it was trying to create a swift array with 1000000 elements
> > before running a single iteration on it.
> 
> This (r2674) breaks some array-related functionality - 
> tests/language-behaviour/1101-array-range added in r2726 works with Swift 
> 0.8 (and also in my head) but does not work with Swift r2522. Backing out 
> r2674 (which I did in r2725) makes this work again

Stop backing things out in trunk if they break some obscure test! We try
to fix them first!





More information about the Swift-devel mailing list