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

[REBOL] Re: Working with large files

From: brock:kalef:innovapost at: 12-Aug-2008 9:05

Kai, Yes, I'm going to need to use the /seek option. I was trying to avoid it but it looks like it is the only way to go. The records that I am working with although not fixed width are tab delimited. I could likely come up with a way to work on the fixed record size using skip etc, but think it may be just as easy to manage by checking if the last character of the block is a #"^/", and if not ignoring that record, then starting the next block with the start of this record. I should be able to do that easily enough using 'index?. I've been playing with it a little and looks very feasible to implement with minimal pain. Whether it will slow it down or not isn't too big a concern. Cheers, and thanks for your reply. Brock