[Java][자료구조]Vector 와 ArrayList

less than 1 minute read

ArrayList

  • not synchronized

Vector

  • synchronized

멀티 스레드 환경인 경우에는 Vector가 유리하고, 아닌 경우에는 ArrayList가 성능에 유리하다.