#6 memory leak with macro string contants

closed-accepted
None
5
2001-02-09
2001-01-25
No

Every time a macro is parsed, all of the string constants are put into the GlobalSymList.
They are not reused. This patch causes the parser to look up string contants by value and
reuse the symbol entry.
This is not optimal. In cases where there are lots of large string constants that are nearly the
same, it could be slow. Some sort of hash would lessen that situation.

Discussion

  • Steve LoBasso

    Steve LoBasso - 2001-01-25

    None

     
  • Scott Tringali

    Scott Tringali - 2001-01-30
    • assigned_to: nobody --> slobasso
     
  • Steve LoBasso

    Steve LoBasso - 2001-02-09

    It's in the main codeline now.

     
  • Scott Tringali

    Scott Tringali - 2001-02-09
    • status: open-accepted --> closed-accepted
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks