Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 14d89e0

Browse files
committed
optimize capacity
1 parent 950cbe6 commit 14d89e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎spring-boot-data-aggregator-core/src/main/java/io/github/lvyahui8/spring/aggregate/consts/AggregationConstant.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
public interface AggregationConstant
88
{
99
Object EMPTY_MODEL = new Object();
10-
int DEFAULT_INITIAL_CAPACITY = 32;
10+
int DEFAULT_INITIAL_CAPACITY = Runtime.getRuntime().availableProcessors() << 2;
1111
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /