[tor-commits] [compass/master] Factor out filter inversion into its own filter class