Skip to content
This repository was archived by the owner on Mar 15, 2020. It is now read-only.
This repository was archived by the owner on Mar 15, 2020. It is now read-only.

PERF #95

@stefanpenner

Description

@stefanpenner
  • 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 no foo.bar only foo
  • 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 only sort via number compare or localecompare

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions