a8m / a8m/angular-filter

Performance issue in groupBy

Aberta
#189 10 comentários 1 reação 0 responsáveis Ver no GitHub
PRs plz!
Linguagem predominante
JavaScript
Estrelas
2.9k
Forks
319
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

I have an array of 300 non-trivial objects, which I want to filter with `groupBy`. When I attempt to do that, my whole applications slows to a crawl.

This is due to enormous amounts of time being spent in `getHashKey`, which `JSON.stringify`s the whole array to use that as the key for `$$cache`.

If there's an alternative approach, I'd love to hear it :)

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.