Caching link array for speedup