I have two test cases using a reasonably large json object (1.2mb):
source: data
and
source: function (request, response) {
response(data);
}
In the first case the autocomplete works as I'd expect.
In the second case, autocomplete works occasionally and is very slow. Sometimes the browser hangs for 3-4 seconds "not responding" before it frees up again.
What's happening differently in the second case compared to the first?
(I wil be putting some filtering logic in this function at some point but for now I'm testing like this).