Re: Fastcode Rules

From: Dennis (marianndkc_at_home3.gvdnet.dk)
Date: 10/26/03


Date: Sun, 26 Oct 2003 14:03:02 +0100

Hi John

"John O'Harrow" <john@elmcrest.demon.co.uk> wrote in message
news:3f9b9ffd$1@newsgroups.borland.com...
> Hi Dennis and other FastCoders,
>
> I have just been reading the fastcode rules thoroughly for the first time
> (Yes, I know its a bit late).

Yes to late ;-)

> I believe the Global rule 'It is not allowed to have code that set
compiler
> switches in functions' is unnecessary. Many routines (not just our
fastcode
> functions) may need range checking turned off or (more often) Boolean
> shortcuts turned on to function correctly. ps - Many of our current
> functions may fail if Boolean shortcuts are turned off.
>
> I do not see a problem with a Pascal function setting the compiler
settings
> it requires to operate, as long as it restores the previous settings when
it
> finishes.

I think that the code is dirty if it will not run with these settings on,
except in a few cases maybe. More opinions needed.

> To be clear, with the rule 'It is not allowed to read past the end of
> strings', does reading the null terminator (which is always present but
not
> included in the length) count as reading past the end.

I think the rule should be "It is not allowed to read past the end of
strings, but it is allowed to read the zero terminator"

> Finally, didn't we agree on a challenge rule that, where two or more
> function perform equally well on a particular processor (+/-1%), then the
> winner would be the function with the smallest size or best blended score
(I
> can't remember which).

Yes it was on the page too but I can't see it now either. Not all functions
have a blended score - they do not qualify for this category if the use SSE
or SSE2 and the rule must be

"If two or more functions perform equally well in the categories P4, P3,
Athlon XP, Pascal and blended, then the winner is the function with the
smallest size "

> I think we need to get the rules clarified soon - the challenge deadlines
> are only a few weeks away.

Agree I have tried this for more than a year :-)

> regards,
> John.
>
Regards
Dennis



Relevant Pages

  • Re: question for lumix fz30 users (with a manual might help)
    ... and it implies that i must get into the wb settings ... after reading what you ... Adjust feature (accessed by pressing the up arrow of the arrow pad ... The only other things I can suggest - are you shooting in some sort ...
    (rec.photo.digital)
  • Re: [OTish] Units question for Americans
    ... This caused some confusion for me reading _Nineteen Eighty-Four_, when the prole complains that a half-liter of beer doesn't satisfy the way a pint did. ... Worlds that don't connect easily or directly to our own are pretty much dealer's choice, but I'd say that metric sounds more technical and better-suited to hardish and post-industrial SF settings, English more traditional and better-suited to fantasy and low-tech settings. ... Mass media productions aimed primarily at Americans are generally, reasonably, going to use units Americans are comfortable with. ... I'm supposed to be from a metric country, ...
    (rec.arts.sf.written)
  • Re: how to read application ".config" file in No-touch-deployment
    ... "plumbing" to be done (i.e. reading .config through web-service). ... So, you can, on starting your app, see if you ... > have a local XML file that contains settings. ...
    (microsoft.public.dotnet.general)
  • Re: ABBABIBBLES New kick-awesome BC wheel
    ... We do have a community college, but they have absolutely no hands on ... I'm thinking that i'll do some more reading up on this stuff ... the settings and what metal thickness to use with which combination of ...
    (rec.sport.unicycling)