Skip to content

Commit

Permalink
Put first threshold level at 0 for heap fetches
Browse files Browse the repository at this point in the history
This helps highlighting heap fetches when there's only a few, which
can already have significant impact on performance.

See #589
  • Loading branch information
pgiraud committed Aug 22, 2024
1 parent 97781ba commit 19ee1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default function useNode(
c = 4
} else if (i > 40) {
c = 3
} else if (i > 10) {
} else if (i > 0) {
c = 2
}
if (c) {
Expand Down

0 comments on commit 19ee1c6

Please sign in to comment.