POV-Ray : Newsgroups : povray.off-topic : Haskell raving : Re: Haskell raving Server Time
12 Oct 2024 01:13:23 EDT (-0400)
  Re: Haskell raving  
From: Warp
Date: 31 Oct 2007 19:30:51
Message: <47291e3b@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> My guess is that internally it works the same way you'd do it from C: 
> you read a buffer, walk thru the buffer, and then discard the buffer. 
> There's no reason it can't work that way, just because it *looks* like a 
> list of characters at the program level, any more than getchar() really 
> reads one character at a time.

  If a string is really internally a list of smaller strings, wouldn't GC
become more difficult because you can actually have "references" pointing
to the middle of such strings and not their base?

  I must admit, though, that I don't know how GC is implemented.

-- 
                                                          - Warp


Post a reply to this message

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