Skip to content
Discussion options

You must be logged in to vote

System.out.println()이 성능 저하를 가져온다고 들었습니다. 알고리즘 문제 풀이할 때도 문자열을 여러번 출력할 때는 System.out.println()를 반복해서 사용하는 것보다 StringBuilder 등을 활용해서 출력하는 게 시간을 단축시키는 걸 보면 성능적인 부분에서도 안 좋은 거 같고... 아마 로그 프레임워크니까 직접 문자열 날리는 것보다 로그를 더 쉽게 출력해줄 수 있지 않을까요?

사실 저도 아직 제대로 사용해본 적이 없어서 ㅎㅎ.. 사용해보신 분 있으면 공유 부탁해요 ~!

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@chaelink
Comment options

Answer selected by YuDeokRin
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 participants