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 middle-end/18499] [4.0 Regression] quadratic behavior in cfgexpand


------- Additional Comments From giovannibajo at libero dot it  2004-11-15 19:25 -------
Doesn't the quadraticy come from VEC_unordered_remove? If you have M total 
edges and you want to remove N of them, the complexity is O(N*M) with vectors, 
but used to be O(N) with lists.

-- 


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


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