In PHP, does array_slice()
serve good enough to process large data array
that cannot be paginated
since its not stored in database
but calculated on other db tables
.
Anyways, so I have an array
of around 50k
which might increase later. First time on page load it fetches all 50k records then slices
it for ajax based pagination
.
Will this cause server load
in future since all records
are being fetched on page load?