POV-Ray : Newsgroups : povray.off-topic : Haskell raving : Re: Haskell raving Server Time
15 Nov 2024 07:14:14 EST (-0500)
  Re: Haskell raving  
From: Orchid XP v7
Date: 1 Nov 2007 14:06:13
Message: <472a23a5$1@news.povray.org>
Warp wrote:
> Orchid XP v7 <voi### [at] devnull> wrote:
>> Simply let lazy evaluation read the file as required, and the GC can 
>> delete the data you've already processed transparently behind you.
> 
>   That's not possible if the file is indeed read into one single string.

Nope, linked list. Each link in the chain can be read seperately when 
accessed.

(As a matter of fact, I very much doubt it reads a single character at 
once. It probably reads much more than that, for efficiency's sake...)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.