[tor-commits] [tor/master] refactor smartlist for readability