소스 검색

Update Contribution Guidelines About Streams

Closes gh-17097

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Tran Ngoc Nhan 2 달 전
부모
커밋
3e9d585410
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      CONTRIBUTING.adoc

+ 3 - 0
CONTRIBUTING.adoc

@@ -81,6 +81,9 @@ The wiki pages https://github.com/spring-projects/spring-framework/wiki/Code-Sty
 
 To format the code as well as check the style, run `./gradlew format && ./gradlew check`.
 
+NOTE: Since the Stream API is https://github.com/spring-projects/spring-security/issues/7154[much slower] than `for` loop, please use it judiciously.
+The team may ask you to change it to a `for` loop if the given code is along a hot path.
+
 [[submit-a-pull-request]]
 === Submit a Pull Request