This is the mail archive of the gcc@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]

Re: Suggestion for improving C++ parser memory usage


Roger Sayle wrote:

Whilst not as visible or impressive as the earlier O(n^2) -> O(n),
improvement, cp_parser_implicitly_scoped_statement is called a lot
parsing C++ code, and the unnecessary calls to allocate/deallocate
entries on the scope stack aren't free.

OK, well it sounds worth a shot. I am happy to have my skepticism disproved :-)



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