a8m / a8m/angular-filter

Performance issue in groupBy

オープン
#189 コメント 10 件 リアクション 1 件 担当者 0 名 GitHub で見る
PRs plz!
主要言語
JavaScript
スター
2.9k
フォーク
319
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。