[Bug c++/22635] OVERLOAD should not be a linked list of trees

2009-02-22 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2009-02-22 14:01 --- Trees were refactored, and we currently have: struct tree_base { ENUM_BITFIELD(tree_code) code : 16; /* 48 bits for various bitfield flags */ union tree_ann_d *ann; } /* So on a 64-bit host this is 128bits = 1

[Bug c++/22635] OVERLOAD should not be a linked list of trees

2005-08-05 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-06 06:47 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug c++/22635] OVERLOAD should not be a linked list of trees

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 13:23 --- PR 12850 has the numbers. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22635

[Bug c++/22635] OVERLOAD should not be a linked list of trees

2005-07-24 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-07-24 12:40 --- Can you measure how much memory do all the overload nodes take in the big testcases? Theoretically, an OVERLOAD could measure 8 bytes or so (on 32 bit systems). So we currently waste more than 100 bytes per

[Bug c++/22635] OVERLOAD should not be a linked list of trees

2005-07-23 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 06:28 --- If you look at both PR 8361 and 12850, they average both more than 40 Overloadeds. Those are both real code so I don't know why people think this is stupid. Also linked lists especially with extra loca

[Bug c++/22635] OVERLOAD should not be a linked list of trees

2005-07-23 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-07-24 04:59 --- I would imagine that in real world, there are either a rather small number of overloads of a name (less than five) or very many (more than 20 or 30). Most code I've seen don't use many overloads (falling into

[Bug c++/22635] OVERLOAD should not be a linked list of trees

2005-07-23 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-07-24 03:32 --- Subject: Re: New: OVERLOAD should not be a linked list of trees "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | I noticed this when looking at compile time / memory usage of PR | 8361

[Bug c++/22635] OVERLOAD should not be a linked list of trees

2005-07-23 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-23 22:44 --- Though fixing that still gives the same number. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22635

[Bug c++/22635] OVERLOAD should not be a linked list of trees

2005-07-23 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-23 22:35 --- 8361 also have simular interesting results: average OVL length: 44.709989 But I think my counting is wrong as we can have DECL in the chain. -- What|Removed |Added -

[Bug c++/22635] OVERLOAD should not be a linked list of trees

2005-07-23 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-23 22:32 --- I added some stats to when chaining to the ovl and got the following interesting result for PR 12850: average OVL length: 57.498998 So we have an average length of 57 which is long and shows that we are ta

[Bug c++/22635] OVERLOAD should not be a linked list of trees

2005-07-23 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||12850 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22635