[Bug c/10962] New: lookup_field is a linear search on a linked list (can be slow if large struct)

pinskia@physics.uc.edu gcc-bugzilla@gcc.gnu.org
Sat May 24 07:35:00 GMT 2003


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

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

           Summary: lookup_field is a linear search on a linked list (can be
                    slow if large struct)
           Product: gcc
           Version: 3.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: pinskia@physics.uc.edu
                CC: gcc-bugs@gcc.gnu.org
 GCC build triplet: powerpc-apple-darwin6.6
  GCC host triplet: powerpc-apple-darwin6.6
GCC target triplet: powerpc-apple-darwin6.6

According to the comments of lookup_field, it seems that TYPE_LANG_SPECIFIC should 
have the sorted list for a binary search.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Gcc-bugs mailing list