On 03/01/2013 04:37 PM, Michael Van Canneyt wrote:
> 
> On Fri, 1 Mar 2013, Ludo Brands wrote:
> 
>> What about just using a 32k buffer?
> 
> No problem with that as far as I am concerned.
> 
> Since the code is shared between embedded and non-embedded targets, it
> might be better to have the option to specify the size of the buffer to
> use.
> 
Being able to override the buffer size at runtime would indeed be the
best solution. Embedded systems with a file system and short on memory
to accommodate a 32k block is rather uncommon these days.

> In recursive cases, it means that Depth*BufferSize buffers will be
> allocated.
> 
Yes.

Ludo


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to