Re: [fpc-pascal]General Question on code optimization...

2003-10-07 Thread Marco van de Voort
> On Tue, 7 Oct 2003, Marco van de Voort wrote: > | I think the best thing would be to find out what exactly hinders newer > | FPC versions, make a few mods and compile a matching version locally. > > Are you talking about compiling a local FPC version, or about changing the > mysql unit? Having

Re: [fpc-pascal]General Question on code optimization...

2003-10-07 Thread Peter Vreman
> > Shouldn't FreePascal automatically skip all code which is not > required/used? > Especially in a procedural environment it should be relatively easy to > find > out at compile time, which functions/procedures are used or not. > So the compiler should be able -- especially when the unit source i

Re: [fpc-pascal]General Question on code optimization...

2003-10-07 Thread Rainer Hantsch
On Tue, 7 Oct 2003, Marco van de Voort wrote: | I think the best thing would be to find out what exactly hinders newer | FPC versions, make a few mods and compile a matching version locally. Are you talking about compiling a local FPC version, or about changing the mysql unit? I never compiled my

Re: [fpc-pascal]General Question on code optimization...

2003-10-07 Thread Marco van de Voort
> Hello! > > I wrote a unit for using MySQL a long time ago. It is basically the mysql > unit, but with some modified/added functions to make life easier. But it is > still procedural (currently not OOP). > > Now I added some functions which allow me to access SQL data fields by > their name and

[fpc-pascal]General Question on code optimization...

2003-10-07 Thread Rainer Hantsch
Hello! I wrote a unit for using MySQL a long time ago. It is basically the mysql unit, but with some modified/added functions to make life easier. But it is still procedural (currently not OOP). Now I added some functions which allow me to access SQL data fields by their name and some other minor