Cache Julia type lookup (reduces a read performance bottleneck)