Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2005:
[Freeciv-Dev] Re: using OR in requirements
Home

[Freeciv-Dev] Re: using OR in requirements

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: using OR in requirements
From: Marek "Baczek" Baczyński <imbaczek@xxxxxxxxx>
Date: Sat, 3 Dec 2005 21:28:22 +0100

2005/12/3, Vasco Alexandre da Silva Costa <vasco.costa@xxxxxxxxx>:

> As for the suggestions to use Lua, this functionality seems, to me, to be
> performance sensitive enough to warrant a native C code implementation.

If it's really that performance-critical, you could make the script
work in more of a preprocessor fashion, such that it would expand one
'script' rule into all possible 'static' rules. This way there's no
performance penalty during the game.

--
{ Marek Baczyński :: UIN 57114871 :: GG 161671 :: JID imbaczek@xxxxxxxxxxxxx  }
{ http://www.vlo.ids.gda.pl/ | imbaczek at poczta fm | http://www.promode.org }
.. .. .. .. ... ... ...... evolve or face extinction ...... ... ... .. .. .. ..

[Prev in Thread] Current Thread [Next in Thread]