All articles
671 articles
Java Collection Interface
Collection Interface 이미지 출처 : http://mousevm.tistory.com/221 Interface List 1. Collection : 가장 상위 인터페이스 2. Set : 중복을 허용하지 않는 집합을 처리하기 위한 인터페이스 3. SortedSet : 오름…
[Performance Tunning] String / StringBuffer / StringBuilder
String / StringBuffer / StringBuilder 1. String 짧은 문자열을 더할 경우 사용. 메모리를 가장 많이 차지. 응답 시간에 많은 영향을 줌. 2. StringBuffer Thread에 안전한 프로그램이 필요할 때, 개발 중인 시스템의 부분이 T…
[Performance Tunning] 메서드 성능 측정 방법
메서드 성능 측정 방법(Way Of Method Performance Measuring) 1. 전문 측정 라이브러리의 사용 - JMH : http://openjdk.java.net/projects/code-tools/jmh/ - Caliper : https://github.com/goo…
[Performance Tunning] Java System Class
System Class 유용한 메서드 arraycopy(Object src, int srcPos, Object dest, int destPos, int length) 특정 배열을 복사할 때 사용. src는 복사 원본 배열, dest는 복사한 값이 들어가는 배열, srcPos는 원본의 시…
[Performance Tunning] 프로파일링 툴
프로파일링 툴 APM(application performance monitoring) 툴과 프로파일링 툴의 비교 구분 프로파일링 툴 APM 툴 특징 - 소스레벨의 분석을 위한 툴 - 어플리케이션의 세부응답시간까지 분석 가능 - 메모리 사요양을 객체 / 클래스 / 소스의 라인 단위까지 분…
Python : 자료구조
Python : 자료구조 ref. : https://wikidocs.net/68 파이썬의 자료형 >>> type('a') <type 'str'> # 문자열 >>> type(6) <type 'int'> # 정수 >>> type(3.0) <type 'float'> # 소수…
Python : 함수(function)
Python : 함수(function) # 3. Function # ref. : https://wikidocs.net/60 print('[ex] function --------------------------') def print_list(a): for i in a:…
Python : 제어구조
Python : 제어구조 # 2. control construct # 2.1. while # ref. : https://wikidocs.net/56 print('[ex] while --------------------------') num = 1 while num <= 100:…
Python : 기본
Python : 기본 ## ref.] https://wikidocs.net/53 ## list family = ['mother', 'father', 'gentle man', 'lady', 'son'] print family # total family count print…
Binary Search
Binary Search ref.: http://blog.eairship.kr/246 code : public static int binarySearch(int[] arr, int size, int inputVal){ int low = 0; int…