Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,



In my auto complete textbox i am trying to load more than 40000 of records so it was late when iam used jquery also.one thing i am do is read from static data for example i keep all the 40000 records in an array i will get from among them by passing prefix text.so could any me in that how to do or give an example for static data.



Regards,
rahul
Posted

1 solution

Dear Naveen

First of all I assume your 40000 records is a First Name or Last Name or any list of data and you want search in this list and return a some records. I suggest to you use Dictionary data structure it is really impotent because, Data structure is a important part of huge data.

So, you can improve your search algorithms with Data and Task Parallelism follow of this solution you can find many useful links about parallelism in .net by TPL:

Task Parallel Library: 2 of n[^]
Parallel programming in .NET - Internals[^]
SEQUENTIAL PARALLEL SEARCH ALGORITHM
Threading in C#
Parallel Sort Algorithm

Best Regards.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900