무엇이 더 효율적입니까? 수업을 모델링하는 가장 좋은 방법은 무엇입니까?
는또는
큰 종류가 다른 종류의 키가있는 PROPERTYLIST을 가지고 필터링 및 단체는 제 1 종에 속하는 복구하는 두 번째 종류를 사용하는 하나 개의 속성을 가진 많은 종류가. 목록 당 Aprox 6k 개 항목.옵션 1 _ __ _ __
class customer()
propertyinteger
propertystriing
...
propertyintegerID = use to be filtered and indexed
thousand of costumers
옵션 2 _ __ _ ____
class customer()
propertyinteger
propertystriing
class CustomerGroup()
propertystring
propettycustomerList (repeated=True) (save a list with __key__ of customer class)
그리고 CustomerGroup ListProperty 만 들어갈 때 사용 삼 stomer 나는 관심이 있어요. 목록에는 6k aprox가 있습니다.
감사합니다.