This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compacting _Jv_Utf8Const


Andrew Haley wrote:

I can speak to that: changes to _Jv_Utf8Const aren't yet being
considered, so I don't think the new ABI plans affect this.

I wondered if there were any other ideas floating around for reducing the cost of _Jv_Utf8Const.


> Finally, one could compress the actual characters, i.e. use a more > compact special-purpose encoding than UTF8. 6 bits per characters, with > some escape mechanism, should be enough, but saving 25% is probably not > enough to justify the complexity.

You rather sound like you don't really want to change it...

I suggest not trying to comparess the actual chracters (i.e. keep them as UTF8), but I think it might be worthwhile to comparess the header as I suggested.


Any suggestions for easily counting the number of _Jv_Utf8Const objects in libgcj?
--
--Per Bothner
per@bothner.com http://per.bothner.com/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]