[fpc-devel] Blackfin support

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Jul 15 16:07:08 CEST 2010


Florian Klaempfl schrieb:
> Hans-Peter Diettrich schrieb:
>> I see the biggest benefit in many possible optimization in the scanner
>> and parser, which can be implemented *only if* an entire file resides in
>> memory. 
> 
> Include files, macro expansion and generics make such optimizations hard.

Not necessarily. When all currently used files reside in memory, every 
(recorded) token can contain an pointer (or offset) into the file 
buffer. This may reduce the number of required string copies (not yet 
fully researched).

DoDi




More information about the fpc-devel mailing list