Hi all,
A little while ago Mark suggested (not sure if it was in person or on
the list) that it would be a good idea to take a look at our Collections
classes and do a kind of code review, thinking about improvements and
possible optimisations.
To that end Mark Hindess, Cath Hope and myself sat down and took a close
look at ArrayList earlier today. We got up to the growAtEnd() method,
annotating the code with questions and comments as we went. I've opened
HARMONY-6607 [1] and attached the diff with our comments in so everyone
can see what we've come up with so far.
If you have any further comments or ideas for the code (including
patches for improvements) please add to the discussion here - it would
be great to have some extra input!
Regards,
Oliver
[1] https://issues.apache.org/jira/browse/HARMONY-6607
--
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU