No, Litteral Words are to reference the word itself, not the data the word points to. Try this at the console:
big-block: ["lots of data"] print big-block print 'big-block HTH Ammon ----- Original Message ----- From: "Christopher Dicely" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 04, 2001 3:33 PM Subject: [REBOL] Re: Depth first search > I'm pretty much a newbie, but can't you pass a > reference using a literal word? I.e., instead > of > > > big-block: [ lots of data ] > some-random-function big-block > > do something like: > > big-block: [ lots of data ] > some-random-function 'big-block > > Chris Dicely > > --- Nate Haggard <[EMAIL PROTECTED]> wrote: > > I am trying to make a web crawler that traverses the > > links of a site up to a > > depth of 3. First a block of data is created that > > contains all the pages to > > visit with duplicates eliminated. When I run this > > program on my RedHat linux > > 7.2 box it starts out fine, then slows to a crawl, > > and starts using 60-80% of > > the memory on my machine. I think the problem is > > that I am passing a copy of > > the giant block to every recursive call to a > > function. **Isn't there any way > > to pass a reference to a data structure that will be > > modified instead of > > copying it every time and then returning a new > > structure?** > > > > Thanks > > Nate > > -- > > To unsubscribe from this list, please send an email > > to > > [EMAIL PROTECTED] with "unsubscribe" in the > > subject, without the quotes. > > > > > __________________________________________________ > Do You Yahoo!? > Buy the perfect holiday gifts at Yahoo! Shopping. > http://shopping.yahoo.com > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
