[tor-dev] Stem descriptor lazy loading

Damian Johnson atagar at torproject.org
Sun Jan 25 22:44:53 UTC 2015

I've been wanting to do this for years. Just a quick announcement that Stem
now lazy-loads descriptors, giving it a nice performance boost...

  Server descriptors: 27% faster
  Extrainfo descriptors: 71% faster
  Microdescriptors: 43% faster
  Consensus: 37% faster

For details see...


Note that descriptor validation is now opt-in rather than opt-out, so if
you'd prefer validation over performance you'll now need to include
'validate = True'.

This is a pretty big overhaul so please let me know if you run into any issues.

Cheers! -Damian

More information about the tor-dev mailing list