Rewrite Most WordPress URLs

I think htaccess would be fastest way. Overhead of checking 50 simple regexp is very small – page generation is several orders of magnitude slower so you shouldn’t care about it.
This wont hit performance, you can set rewrite only for domain mysite.com and it won’t check rules for tech.mysite.com reducing overhead, which isn’t noticeable anyway.

The disadvantage of modifying wordpress code is that you modification may break with wordpress update and you should remember about it every time you’re updating it.

If you want to make your site faster then try nginx webserver. It can work with php-fpm without apache, or just serve static files much more effectively than apache and proxy requests to php to apache. There is also similar webserver lighthttp.