Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Overhead for insert and blocks

From: chris:starforge:demon at: 31-Oct-2000 10:22

Andrew Martin wrote:
> > Internally the files look like: <snip> > > ...how are blocks stored? > > > ...is the data arranged in a single continuos memory area? > <snip> > > Watch carefully...
But that doesn't actually answer my question. I'm not talking about the representation the user sees, but how the data is actually held in memory. Is it a simple memory block, single or double linked list, how are nested blocks handled: are they interleaved or does the parent block contain pointers to the memory containing the nested blocks? What exactly happens when a block is inserted into a block with /only? These implementation issues can have a huge effect on the speed of the script. I guess I shouldn't really be worrying about such things but I'm an unrepentant C programmer and habits are hard to break ;) Chris -- New sig in the works Explorer2260 Designer and Coder http://www.starforge.co.uk