You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backport #331 - Asset lookup 4x Faster in large directories
With this patch using the benchmark script https://github.com/schneems/sprockets-3.x-performance-regressions:
```
1500 lookups of the same asset took 2.900005
1500 lookups of 1500 different assets took 2.746331
```
Without this patch using the benchmark script:
```
1500 lookups of the same asset took 12.361615
1500 lookups of 1500 different assets took 12.627099
```
Which is a 4x speed bump.
0 commit comments