Open Sharaf-Mansour opened 2 years ago
I would just use a limit in the query return from the database. you might want to look at data structures. in terms of difference: https://www.dotnettricks.com/learn/linq/ienumerable-vs-ilist
10,000 records is nothing, in terms of getting the data, I would look at implementing pagination for the queries.
Issue
The current model uses
IList<T>
OrIEnumerable<T>
Which is good for 1000 to 10,000 Refugees, But my question is what if we have a lot more. Is there a room to useSpan<T>
Or Something else ?