##// END OF EJS Templates
smartset: use native set operations as fast paths...
smartset: use native set operations as fast paths For set operations like "&" and "-", where we know both basesets have their sets ready, and the first set is sorted, use the native Python set operations as a fast path. Note: "+" is not optimized as that will break the ordering. This leads to noticeable improvements on performance: revset | before | after | delta ---------------------------------------------------------------- draft() & draft() & draft() & draft() | 776 | 477 | -39% draft() + draft() + draft() + draft() | 2849 | 2864 | draft() - draft() + draft() - draft() | 943 | 240 | -75% draft() - draft() - draft() - draft() | 557 | 197 | -64% (time measured in microseconds)

File last commit:

r28809:7a1ad08b default
r31020:2d1bf840 default
Show More
test-gendoc-da.t
4 lines | 84 B | text/troff | Tads3Lexer
timeless
tests: splitting test-gendoc.t into per file tests...
r28809 #require docutils gettext
$ $TESTDIR/check-gendoc da
checking for parse errors