Skip to content

WIP: Module: Cache the unique

Ben Gamari requested to merge wip/cache-module-unique into master

Previously Module's getUnique would build two FastStrings, concatenate them, and hash them. This seems like a lot of work to duplicate given that it can be cached with little effort.

I somewhat doubt this will measurably affect compiler performance but it's possible since this will affect OrigNameCache lookups.

Edited by Ben Gamari

Merge request reports