sorting small to medium sized data, front-end vs back-end for speed.

Hi all

So I understand a compiled language such as C# will sort an array of objects much quicker than say, JavaScript. But let's say we have an array of maximum 100 objects. Each of these objects has 10-20 attributes and there isn't too much nesting going on.

How noticeable would the difference be?

I kind of imagine it would be negligible and would actually be quicker overall to do on the front-end when you include the fact it would involve one API call as opposed to two.

At what point does it start becoming beneficial to do more things from the backend?

For this purpose I'm not concerned with security.

Thanks

submitted by /u/c_s_u_f
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/3rxHy6r

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close