The basic problem is that I am not the Delphinian for the job as I know little about databases or flurry of acronyms that seems to surround them. However, I am willing to act as organizer if you send me tips. Well, I have to confess that there was an error of sorts relating to this topic. Format is NOT the best way to concatenate strings. This may not hold in Delphi version 2.
Case statements Case statements are actually pretty well optimized.
You have to do this yourself. This is really only an issue of importance if you write your own floating point assembler routines. Instead they are delayed until the next floating point instruction. Having a general understanding of this process will may help you decide what needed optimizing and what does not. The provided methods for moving memory and filling it with zeros are move and fillchar respectively.