Is it advisable to use arrays in Javascript using tens of thousands of indexes?

Is it possible to use arrays in Javascript using tens of thousands of indexes?

I have a database that contains a table of static data, which means that it will never change. In this case, it would be advisable to convert this table to a javascript array and see the information there when necessary? Is this a bad practice?

The table below contains approximately 40,000 entries for the key / value pair.

+5
source share
3 answers

No.

I would keep the table as this is the only service point.

, XmlHTTPRequest / , JavaScript.

+7

, -- . , . . , .

+2

, . , , , . , , . , , , .

- AJAX .

+1

All Articles