[Lazarus] RE : RE : [fpc-pascal] Poor man's resource code available and CheckRide update: now with editor
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Jan 31 20:27:35 CET 2012
On Tue, 31 Jan 2012 10:42:51 +0100
"Ludo Brands" <ludo.brands at free.fr> wrote:
> > The lrs file is a source file, the lrs data is compiled as
> > binary into the exe. The lrs has the overhead that it copies
> > the data onto the heap. fpcres can sometimes avoid that.
> > AFAIK fpcres does not yet support any kind of binary.
> >
> The lrs size wasn't my concern, the resulting binary was: it contained the
> #iii escaped data. This has perhaps changed in newer fpc versions.
The compiler converts each #iii to 1 byte. That's why the lrs was
always saved as binary in the exe. For older fpc < 2.0 (not sure, but
it is long ago) the data had to be cut in 1KB chunks, so there was an
overhead of a few percent.
Mattias
More information about the Lazarus
mailing list