[jQuery] Best way to autocomplete 2000 items

[jQuery] Best way to autocomplete 2000 items


Hey all,
I've got a list of 2000+ names that need to be filtered via an
autocomplete method.
I am wondering what is the best way to implement this? From what I can
see I can either do it via an ajax request to the server that queries
a database server side and returns a matching list, or via Javascript
I load an XML document client side and filter through that?
Does anyone have any experiences with implementing this for a large
dataset?
Many thanks
Alex