Re: Type-checking performance

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

On Tue, 01 Feb 2005 18:20:14 -0800, Robert Craig
<guest at rapideuphoria.com> wrote:
> Using 2.5 beta vs 2.4 on DOS or Windows, I find 2.4 to be
> significantly faster on this, by about the same ratio as you
> show above, *but* using my latest build of 2.5,
> I find 2.5 to be a bit faster than 2.4. I don't know why,
> but modern CPU's are very complex, and small differences
> in the machine code stream can sometimes make a big difference in time.
> I don't recall tweaking anything to do with types or calls in 2.5,
> certainly not since 2.5 beta came out.

What are your thoughts on optimising types that do nothing but return
1, basically alias them to the parent type?
While from a technical standpoint it does nothing, from a semantic
point of view it can be very helpful, as we can see what is expected
in a parameter without a performance hit.

-- 
MrTrick

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

Search



Quick Links

User menu

Not signed in.

Misc Menu