Re: size of news.dat & yarnpack

From: ---{Q[3]Qo. (gro.oi@mt)
Date: Sat, 04 Jan 1997 15:03:52 -0500

Sat, 04 Jan 1997 20:29:31 +0100, rgriech@ibm.net (Hardy Griech) wrote:
>Should be algorithm dependent...

Naturally algorithm dependant to a point. But also obviously it's still
gonna take longer when you have more data -- no matter how good your
algorithm is to find what is needed. (-: I don't know, of course, how
specifically optimised Yarn is for importing. I do note that the
history.pag is maintained in a somewhat sorted condition. I think it's
sorted on import date though... and also the blocks have the ID's sorted
and grouped together. Presumably the history.dir (which i have no real idea
of the function it serves) may index the history.pag blocks in some sort of
order... probably fairly well optimised whatever it's doing. But still...
more data, more time, of course -- no matter how optimimally indexed. (not
to mention other factors like the tendancy for larger news.dat's, from what
i've seen, to be more fragmented....)

If you want to take a look at a bit of the contents of the history.pag
here's a rexx script that i was playing with then i first started trying to
figure it out.... it will dump the contents, somewhat crudely to stdout...

you need to supply the filename on the command line if you try it... so...
dhash %yarn\history.pag

-- 
 .._,.,._.,.,.,_,._,,,.,_,.,_,..,..,_..,.,.,_,,.,.,_._.,_.,.._,.,_..,.
  Tim Middletun =-=-=- with love and squalor -=-=-= as544 torfree.net
  -=-=-=- do read Don Quixote by Cervantes if at all possible -=-=-=-
 ~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~
    Yarn/2 Bells & Whistles Page: http://www.io.org/~tm/bells2.html
             * January 4th * International Day of Spreads

begin 664 dhash.cmd M+RH@9'5M<"!D871A(&9R;VT@>6%R;B!H87-H(&9I;&4@*"HN<&%G*0T*#0IF M:6QE;F%M92!O;B!C;VUM86YD(&QI;F4L(')E9&ER96-T(&]U='!U=#H@9&AA M<V@@:&ES=&]R>2YP86<@/G1E<W0-"@T*<V\@9F%R(&MN;W=N.@T*#0HM(#(@ M:R!B;&]C:W,@*#!X,#@P,"`](#(P-#@I#0HM(&9I<G-T('1W;R!B>71E<R!O M9B!B;&]C:R!T96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VL@*R`Q.PT*96YD.PT*("`@(`T*("`@("`@ J("`@("`@#0H@("`@("`@(`T*("`@("`@("`-"B`@("`-"B`@("`-"@T* ` end