Commit 5720716
committed
refactor(view): 배열 업데이트 성능 최적화
groupCommitsByReleaseTags 함수에서 불변성을 유지하면서
배열 업데이트 성능을 개선했습니다.
- slice(0, -1)과 spread operator 중복 사용 제거
- 배열 복사를 1회로 줄여 성능 향상
- 불변성은 slice()를 통해 유지1 parent 91859bf commit 5720716
2 files changed
Lines changed: 7 additions & 3 deletions
File tree
- packages/view/src/components/FolderActivityFlow
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
109 | 113 | | |
110 | | - | |
| 114 | + | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
0 commit comments