[squeak-dev] Re: SparseLargeTable

nicolas cellier ncellier at ifrance.com
Wed Nov 5 22:25:03 UTC 2008


Eliot Miranda a écrit :
> 
> 
> 
> I'd like to plug those holes. I absolutely need 0-based sparse arrays :)
> 
> 
pvtCheckIndex: index
...
	index - base > size ifTrue: [self errorSubscriptBounds: index].

If I take index = size + 1 and base = 1, I won't get an error.
Should be >=






More information about the Squeak-dev mailing list