Skip to content

Commit 3e9d585

Browse files
ngocnhan-tran1996jzheaux
authored andcommitted
Update Contribution Guidelines About Streams
Closes gh-17097 Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent a4c338f commit 3e9d585

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CONTRIBUTING.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ The wiki pages https://github.com/spring-projects/spring-framework/wiki/Code-Sty
8181

8282
To format the code as well as check the style, run `./gradlew format && ./gradlew check`.
8383

84+
NOTE: Since the Stream API is https://github.com/spring-projects/spring-security/issues/7154[much slower] than `for` loop, please use it judiciously.
85+
The team may ask you to change it to a `for` loop if the given code is along a hot path.
86+
8487
[[submit-a-pull-request]]
8588
=== Submit a Pull Request
8689

0 commit comments

Comments
 (0)