Closes #3569 (closed). Hopefully fixes the URL.Equal panic by making memoization atomic.
Changelog: fix