At 02:24 PM 3/10/2002 -0800, Brent Dax wrote: ># Single line changes to add a size argument to a the constructors. > >Small diff, big changes. A one-line diff in the right place can >increase or decrease size or speed a thousandfold. This alters the
Agreed, however I hope any of us with commit privs already know this. >design of PMCs in a way I think one of the designers should look at. Agreed, hence my mail last night asking for objections. Anyway lets not nitpick this, rather, discuss the change. PMCs can represent any number of things right? And those things aren't just Perl things, they may be C/Java/C#/Lisp/Ruby/Python. I think a PMC constructor should be smart enough to know at creation time what size of object is needed _if_ the particular PMC author needs that information. I think for the current classes (Perl*), this concept is of no interest, but we aren't just supporting Perl, right? However, I will accept the probability that I'm not in sync with what other people think PMCs should know, but I do want some support for a generic "struct" type PMC, so I'll simply say, "if not this way, point me in the direction that makes you the least uncomfortable, because I hate standing still." ;) -Melvin