[BitTorrent] Re: bencoding 0:

Elliott Mitchell ehem at m5p.com
Sat Nov 20 18:28:56 EST 2004


>From: Olaf van der Spek <OvdSpek at LIACS.NL>
> >>From: Mike Ravkine <krypt at mountaincable.net>
> >> Abandoning the current simple almost-human-readable encoding scheme in
> >> favor of a binary one (and/or adding any kind of compression) is a huge
> >> step backwards.
> >
> > Could be worthwhile to specify that torrent files may be optionally
> > compressed using the libz style compression. Though this isn't a large
> > gain.
> >
> > In terms of the torrent files, I dislike the searches of the dictionaries
> > taking linear time, but this isn't a big issue yet.
> 
> If you read the file into memory, you can put it in any data structure you 
> want to prevent the lineair searches. 

Yes, but this requires you to read the entire torrent into memory. Given
that they're less than 128K/GB this isn't a big issue, but I find it
inelegant.


-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \   (    |         EHeM at gremlin.m5p.com PGP 8881EF59         |    )   /
  \_  \   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
    \___\_|_/82 04 A1 3C C7 B1 37 2A*E3 6E 84 DA 97 4C 40 E6\_|_/___/




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/BitTorrent/

<*> To unsubscribe from this group, send an email to:
    BitTorrent-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the BitTorrent mailing list