Instead of calling the function:
base_url()
for every single link, would it make sense to define your base url in constants.php:
define('BASE_URL', 'http://mysite.com/');
and then use that constant so that the function call isn't potentially made many multiple times on a page?