ember-cli-addon-search
ember-cli-addon-search copied to clipboard
PERF
- [ ] pre-sort payload from server, so first load needs no sorting
- [ ] store updated times as seconds since epoc (number) that way comparison / parsing is much simpler/faster.
- [ ] make sortProperties flat
https://github.com/gcollazo/ember-cli-addon-search/blob/master/app/components/em-list.js#L51
nofoo.bar
onlyfoo
- [ ] skip
Ember.compare
when sorting over a very large diverse set this can be unfortunately slow due to how flexible it is. Rather we should try to onlysort
vianumber
compare orlocalecompare
array.sort()
sorting overhead today is pretty hefty:
