Re: version of euphoria ZIP

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt Lewis wrote:
> 
> Vincent wrote:
> > 
> > Juergen Luethje wrote:
> > 
> > > Using a constant in place of the routine # leads to readable code, yes.
> > > Then instead of the "include overhead" we have "constant overhead" ...
> > 
> > Constant overhead is trivial in comparison with include overhead. But for
> > the
> > record, you get both, along with some extra file scanning/parsing overhead
> > with
> > the desired method. I dont use constants with these machine routines anyway,
> > comments work fine for me.
> > 
> > Euphoria remains very fast even with significant program inefficiencies. So
> > for
> > most people who figure Euphoria is fast enough, they dont really need to
> > bother
> > with silly stuff like this. But since I am a speed freak, all my code has to
> > be
> > efficient & optimized.
> > 
> 
> I think you're a great example of premature optimization.  If you go around
> taking out all the machine_func wrappers, you probably haven't saved any 
> noticeable time in either parsing or execution.  Most of your optimization 
> effort should usually be directed at better algorithmic solutions.  You
> can often squeeze out a few percent by inlining certain things, but only
> if they're inside of inner loops or something.
> 
> Matt Lewis

I get about 10 emails a day offering me ways to cope with that!

Chris


http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu