a8m / a8m/angular-filter

Performance issue in groupBy

Abierto
#189 10 comentarios 1 reacción 0 asignados Ver en GitHub
PRs plz!
Lenguaje dominante
JavaScript
Estrellas
2.9k
Forks
319
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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 :)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.