Performance: lazily memoize expensive `prerelease?` values during resolve