Skip to content

Commit e5e2d8d

Browse files
authored
docs: fix .push statistics
“70116” is actually “701169”. Fixes #26.
1 parent e0b1920 commit e5e2d8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,12 @@ downloaded NPM packages.
173173
| Occurrences | Method |
174174
| ----------: | ----------- |
175175
| 1,016,503 |`.map` |
176+
| 701,169 |`.push` |
176177
| 315,922 |**`.call`** |
177178
| 271,915 |`console.log`|
178179
| 182,292 |`.slice` |
179180
| 170,248 |`.bind` |
180181
| 168,872 |`.set` |
181-
| 70,116 |`.push` |
182182

183183
These results suggest that usage of `.call` is comparable to usage of other
184184
frequently used standard functions. In this dataset, its usage exceeds even
@@ -237,7 +237,7 @@ slim.topcode.1000.txt.lz4
237237
> ./search.topcode.sh '\.set\b' | awk 'END { print NR }'
238238
168872
239239
> ./search.topcode.sh '\.push\b' | awk 'END { print NR }'
240-
70116
240+
701169
241241
```
242242

243243
Note that, for `.call`, we use `grep` to exclude several irrelevant occurrences

0 commit comments

Comments
 (0)