Kevin Ryde escreveu:
> Han-Wen Nienhuys <[EMAIL PROTECTED]> writes:
>> SCM
>> scm_make_srcprops (long line, int col, SCM filename, SCM copy, SCM plist)
>> {
>> + if (!SCM_UNBNDP (filename))
>> + plist = scm_acons (scm_sym_filename, filename, plist);
>
> Can those two cells be shared among all source props for the same
> file, to save space?
Not the list cell, but the pair-cell is sharable, at the cost of
some infrastructure for sharing it.
>> + SCM_RETURN_NEWSMOB3 (scm_tc16_srcprops,
>> + SRCPROPMAKPOS (line, col),
>
> If col is a freaky big value then perhaps put it in the plist. Could
> be helpful if there's stupidly long lines in some generated code file,
> wouldn't cost anything normally.
It costs in terms of infrastructure and code to deal with this.
SInce this is for debugging, a freaky big value doesn't make sense at
all, IMO.
--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
_______________________________________________
Guile-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/guile-devel