1. Re: Data validation
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jun 02, 2004
- 485 views
On 2 Jun 2004 13:35:18 +0200, Christian Cuvier <Christian.CUVIER at agriculture.gouv.fr> wrote: >The problem is that, when modifying a variable of user-defined type, you get >two kinds of integrity constraints: local and nonlocal. I think I managed to cover this in one of my posts (possibly appearing after this): you cannot make badly written type definitions fast. >But, as Derek said, is there any point nowadays chasing the last wasted CPU >cycle? I wrote drivers where speed was critical, and anything but asm is >inappropriate there imho. Agreed-ish: there is a real need imho to *leave* decent type checking in live applications which would otherwise be quickly commented out because it really, really does make the app run *so* much slower. (I can't remember if my 1000-fold slowdown eg was posted b4 this) I kinda want to say this: Maybe, just maybe, all that is really needed is to document best practices; Unfortunately, however, I know that is just not true. Regards, Pete