Skip to content

Commit 4bc4551

Browse files
committed
Use initial empty cache map
1 parent 34a297c commit 4bc4551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/trino-main/src/main/java/io/trino/cost/CachingCostProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class CachingCostProvider
3838
private final Optional<Memo> memo;
3939
private final Session session;
4040

41-
private final Map<PlanNode, PlanCostEstimate> cache = new IdentityHashMap<>();
41+
private final Map<PlanNode, PlanCostEstimate> cache = new IdentityHashMap<>(0);
4242

4343
public CachingCostProvider(CostCalculator costCalculator, StatsProvider statsProvider, Session session)
4444
{

0 commit comments

Comments
 (0)