|Subject:||debug malloc builds a file name / line number string when it could just store the pointers|
|Date:||Sun, 21 Aug 2011 11:31:12 +1000|
|To:||bug-Imager [...] rt.cpan.org|
|From:||tonyc [...] cpan.org|
set_entry() in io.c builds a new string with the filename and line number when it could just store the file name pointer (which should be static) and the line number. The comm field could be shortened and a comment field parameter added to an alternate mymalloc() to allow allocation usage to be stored.