On Tue, Aug 01, 2000 at 01:00:15AM -0400, Sam Tregar wrote:
> On Tue, 1 Aug 2000, John Tobey wrote:
> 
> > I propose that all internal and external functions be implemented in
> > header files and declared inline.  The external runtime API will be
> > generated by compiling non-inline wrappers.
> > 
> > This will make possible an interesting performance optimization with
> > GNU CC, whereby op_ppaddr is replaced by a local label, and runops is
> > a block of code that uses goto instead of function pointer calls.  It
> > could be kept clean (by Perl 5 standards) using techniques similar to
> > embed.pl's.
> 
> I counter-propose that we avoid early optimization.  I propose that our
> designs begin with readbility and modularity as their highest priorities.  

Counter-counterproposition: Look at the way Sapphire does it. I'm really
proud of that. It's automagically switchable from inlines to ordinary
functions to macros. You can choose which wins, and it's neat to debug.

-- 
Testing can show the presense of bugs, but not their absence.
                -- Dijkstra

Reply via email to