Summary: | Performance - Signature#createTypeSignature should be implemented in term of char[] | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M5 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Philipe Mulet
2002-04-04 04:17:05 EST
I would say we should define methods that use char[] for the following at least: static char[] arrayIfy(char[], int) public static int getArrayCount(char[]) throws IllegalArgumentException public static int getParameterCount(char[]) throws IllegalArgumentException public static char[][] getParameterTypes(char[]) throws IllegalArgumentException public static char[] getReturnType(char[]) throws IllegalArgumentException public static char[] toString(char[],char[],char[][],boolean, boolean) public static char[] toString(char[]) throws IllegalArgumentException For the first one, I wonder what the name means. I definitely need APIs that create as less new char[] as possible. It is important that no cache is used to perform these operations. They should use the minimal amount of memory. All methods now have their counterpart that use char arrays. These methods don't create needless extra objects. |