Doug Lea dl at
Sat Jul 30 17:23:30 UTC 2011

On 07/29/11 06:34, Doug Lea wrote:
> As a bandaid, a faster but still compatible path for
> simple get/set operations on ArrayList.subList could be
> put in at the expense of adding a a few extra fields.

I should have checked before posting -- exactly
this bandaid already exists in current version,
disguised by using  "ArrayList.this" as one of these fields.
As long as people restrict sublist accesses to get and set,
they are not hitting penalty proportional to depth.
I don't know how to do any better while retaining


More information about the core-libs-dev mailing list