Re: [classlib][luni][HashMap]Avoid to expand data array in HashMap.putAll more than once.

2006-09-18 Thread Tim Ellison
Go for it. Tim Leo Li wrote: Hi, all: Current implementation of HashMap.putAll() in Harmony just calls super.putAll() which ultimately will call HashMap.put(), while this way might lead to expand the backing data array more than once if the elements in the added Map is sufficiently

[classlib][luni][HashMap]Avoid to expand data array in HashMap.putAll more than once.

2006-09-17 Thread Leo Li
Hi, all: Current implementation of HashMap.putAll() in Harmony just calls super.putAll() which ultimately will call HashMap.put(), while this way might lead to expand the backing data array more than once if the elements in the added Map is sufficiently large. However, the situation is able