libgcj/1442: Change Character implementation

tromey@cygnus.com tromey@cygnus.com
Wed Dec 20 12:27:00 GMT 2000


>Number:         1442
>Category:       libgcj
>Synopsis:       Change Character implementation
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    tromey
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 20 12:19:54 PST 2000
>Closed-Date:    
>Last-Modified:  
>Originator:     Tom Tromey
>Release:        current cvs
>Organization:
>Environment:

>Description:
Currently we have the choice of "fast" or "small"
java.lang.Character implementations.

It turns out that implementing a 2-level table,
where the second level is omitted if the entire page
holds the same value, is smaller than our current
"small" implementation and nearly as fast as our
"fast" implementation.  We should remove the choice
and instead reimplement this way.

See libunicode for an example of how to do this.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

Formerly PR java.lang/62

>Unformatted:



More information about the Gcc-prs mailing list