Commit 50a5fa2
refactor(db): optimize orderedEntriesArrayReversed to use single pass
Replace three-iteration approach (spread, reverse, map) with a single
backwards for loop for better performance.
Co-authored-by: Kevin <kevin-dp@users.noreply.github.com>1 parent 04cd99c commit 50a5fa2
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
432 | | - | |
433 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
434 | 437 | | |
435 | 438 | | |
436 | 439 | | |
| |||
0 commit comments