Re: [cp-patches] [RFC PATCH 2/4] Optimize emptySet/Map/List() in Collections class

2012-10-16 Thread Ivan Maidanski
Hi Andrew, You're right about emptyList() invocation from subList. Thanks. Updated (and rebased) commit: https://github.com/ivmai/classpath/commit/ef3af4f38970f7cea3d5b5a7d98a617f7b23da4e (branch: https://github.com/ivmai/classpath/tree/ivmai4review-v3) diff --git a/ChangeLog b/ChangeLog index

Re: [cp-patches] [RFC PATCH 2/4] Optimize emptySet/Map/List() in Collections class.

2012-10-15 Thread Andrew Hughes
- Original Message - From: Ivan Maidanski iv...@mail.ru 2011-07-20 Ivan Maidanski iv...@mail.ru * java/util/Collections.java: (emptySet(), EmptySet.iterator(), emptyList(), emptyMap(), EmptyMap.entrySet(), EmptyMap.keySet(), EmptyMap.values(),