[英]What will be the best way to iterate the list as per business logic from performance point of view for the below described requirement
我有實體清單。 這些是數據庫的響應。 我還有另一個清單。 在實體列表中,每個實體對象都有一個稱為id的文件。 這些id總是按升序排列。我需要按照long列表中給出的順序遍歷實體列表。 另外,我需要維護另一個響應對象列表,該列表將比實體列表中的字段多一些。 我也不能使用瞬態。 下面的 ...