Slimelite BBS

Structure of a Version 7 Nodelist

Back to FREE25

From Paul Edwards · 1996-04-04 06:38 · #73051 in FREE25

PE> /* vsev - version 7 nodelist processor */
PE> /* Written by Paul Edwards and released to the public domain */

IS> With due acknowledgement of its history and derivation, we assume .. :)

We've been through that before Ian.  It is not derived from anything,
it was written from scratch, as I am willing to show live to any
would-be audience, for an hourly contract rate of course.  I don't
know why you think it's so hard to believe that someone can write
code to do something like that from scratch.  You may have noticed
I wrote an entire mailprocessor too.  If someone allows me to
incorporate their code into mine without any hint of condition 
whatsoever, then I will use and acknowledge that.  If someone forces
me to write my own, they get all the accreditation they deserve.

PE>    into mixed case.  Internally, the data in the v7 nodelist data
PE>    file is packed by converting everything to uppercase and then
PE>    compressing it by compressing 3 bytes into 2.  Presumably
PE>    someone thought that the space advantages of making an abortion
PE>    like this was worth it, and not just a gigantic wank.  */

IS> Base 40 for alpha fields isn't so bad, actually.  40*40*40 = 64000, which 
IS> is 97% of 65536, and compression to 2/3 of the greater part of the info 

It assumes everyone's name can be fitted into A-Z, 0-9 plus a couple of
other things, with no case-sensitivity allowed.  And I don't know
that the end result of all that will be a 2/3 size nodelist anyway.

IS> proves well worthwhile, with simple, fast decoding.  Luckily it's only the 

Even faster and simpler to not code it.

IS> In V7 you could play games by incrementing the count of the packed string 
IS> (PackLen), adding trailing field/s, but there's no way that some nodelist 
IS> updaterer or other won't clobber it on reassembly after an update.  I 
IS> suspect it's a bit late in the (Fidonet) day to hope to do much new with it 
IS> now, but for what it's worth, here are some planned extensions (V9 - V8 is 
IS> 'taken' 

Nodelist formats are easy to change locally.  If anyone could be
bothered.  BFN.  Paul.

---
 * Origin: X (3:711/934.9)