You can get all the links with one simple SQL
statement from
the table 'links' except when doing a preview.
-- Jan Hidders
Now there's an idea. I'm generally not relying on the links
table for anything important, because I don't really consider it
part of the "real" information. But there's no reason I can't
use it for performance. I'll think about that.