Name: rm29839 Date: 06/15/98
Java language needs reallocation mechanism for arrays
like realloc function in C and GlobalRealloc in Windows.
Using this function core Java classes like Vector
can be reimplemented in more efficient way.
It can _really_ speed up all Java programs.
For example it can be just a method in System class:
public static Object reallocate (Object array, int newSize);
which can return the same object or the new one with new size.
(Review ID: 33606)
======================================================================
- relates to
-
JDK-4655503 need a resize method to go with clone on all array types
-
- Resolved
-