Take further advantage of cached entity data to speedup entity compilation