Please sign in to comment.
Use a class for the cache entry objects
We make a LOT of these things in production environments. V8 prefers for hot-path objects to be of a consistent shape, and using a ctor class makes this module go a bit faster.
- Loading branch information...