Dan Sugalski: # At 10:51 AM 10/26/2001 -0400, Jason Gloudon wrote: # >On Fri, Oct 26, 2001 at 06:54:32AM -0700, Brent Dax wrote: # > # > > What if I want my compiler to be lazy? Do you have the # right to punish # > > me for my laziness by making me add constant folding to # my optimizer (or # > > perhaps making me *write* an optimizer just to do # constant folding)? # > # >You don't have to fold constants : # # More importantly, the answer to the preceeding question can be "Yes". # # If it turns out we need to trim back the number of opcode # functions, the # "all constants" variant is going to be the first to go. While # that can't # necessarily be done completely at compile time for PMC constants, for # string, integer, and numeric constants it usually can be.
So why don't we wait until we decide we don't have enough opcodes? Smells like premature optimization to me. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 When I take action, I'm not going to fire a $2 million missile at a $10 empty tent and hit a camel in the butt. --Dubya