This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug java/12756] Binary Compatibility: Searches are slow


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12756



------- Additional Comments From bryce at mckinlay dot net dot nz  2003-10-25 03:48 -------
We should be careful when adding hashtables to the runtime linker. My suspicion is that the extra 
memory and allocation cost could easily outweigh the benefits. Having the compiler generate 
sorted method/field tables and using binary searching could be a better option. In any case, it may 
be better to wait until libgcj can be compiled with -findirect-dispatch and see if it really is a 
bottleneck.


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