| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 97e6273 commit ffe3040
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -157,6 +157,7 @@ class JSStreamSocket extends Socket { | |||
| 157 | 157 | let pending = bufs.length; | |
| 158 | 158 | ||
| 159 | 159 | this.stream.cork(); | |
| 160 | + // Use `var` over `let` for performance optimization. | ||
| 160 | 161 | for (var i = 0; i < bufs.length; ++i) | |
| 161 | 162 | this.stream.write(bufs[i], done); | |
| 162 | 163 | this.stream.uncork(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments