레이블이 List인 게시물을 표시합니다. 모든 게시물 표시
레이블이 List인 게시물을 표시합니다. 모든 게시물 표시

2013년 1월 31일 목요일

List max size

fastutil이 뭔가 궁금해서 찾아보다가. 
collection util 관련 내용도 찾아봤습니다.

1.
http://b010.blogspot.kr/2009/05/speed-comparison-of-1-javas-built-in.html

2.
http://stackoverflow.com/questions/629804/what-is-the-most-efficient-java-collections-library


Generally, a List implementation can hold any number of items (If you use an indexed List, it may be limited to Integer.MAX_VALUE or Long.MAX_VALUE). As long as you don't run out of memory, the List doesn't become "full" or anything. 
링크에 이런 말이 있네요. 
2^31-1 개 만큼 list 를 담을 수 가 있어서 이 이상의 데이터는 리스트에 못 담네요. 

그래서 위의 fastutil에서 int[][] 이렇게 해서 64bit에서 된다는 건가요? ^^;;

http://stackoverflow.com/questions/3767979/how-many-data-a-list-can-hold-at-the-maximum

http://stackoverflow.com/questions/7632126/maximum-size-of-hashset-vector-linkedlist

http://stackoverflow.com/questions/3038392/do-java-arrays-have-a-maximum-size

http://stackoverflow.com/questions/816142/strings-maximum-length-in-java-calling-length-method


http://fastutil.di.unimi.it/docs/it/unimi/dsi/fastutil/BigArrays.html