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

[REBOL] Re: (No subject)Date: Mon, 30 Oct 2000 09:41:28 -0600

From: jschuhr::hotmail::com at: 30-Oct-2000 7:41

Are you using this approach having already considered the hash! datatype? --John ----- Original Message ----- From: Chris Sent: 12:00 AM To: [rebol-list--rebol--com] Subject: Hi, I'm developing a package of scripts that store a large number (potentially in the thousands) of usernames, passwords, email addresses and other details. Insertions and removals will be uncommon, but updates and searches will be very common and they must be fast. For this reason I've decided to split the data into 26 files and the file any particular user will be in is determined by the first character of the username. Internally the files look like: [ [ username password email ...... ] [ username ... etc... ] ..... ] I chose this structure to make accessing, adding and removing records easier for me. The only problem I have is that I can't use append - new items must be inserted at the start of the list for reasons that would take too long to go into now. What is the overhead of inserting new user blocks at the start or how are blocks stored? Do blocks containing nested blocks contain pointers to the nested data, or is the data arranged in a single continuos memory area? Chris -- New sig in the works Explorer2260 Designer and Coder http://www.starforge.co.uk -- -- To unsubscribe from this list, please send an email to [rebol-request--rebol--com] with "unsubscribe" in the subject, without the quotes.___________________________________________________________ Get more from your time online. FREE MSN Explorer download : http://explorer.msn.com