The file is wp-includes/taxonomy.php
In my website, with this change, the performance of “category in” and “category exclude” or similars are much better.
I see some posts in this forum and several blogs suggesting this change when i’ve find a solution to my website performance problem.
Thanks.
Sorry my poor english.