Commit 34a6454
buffer: add end parameter
To limit how far into the buffer we search without allocating an
unnecessary subarray.
Signed-off-by: Robert Nagy <ronay@icloud.com>
PR-URL: #62390
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent 450e051 commit 34a6454
5 files changed
Lines changed: 195 additions & 58 deletions
File tree
- doc/api
- lib
- src
- test/parallel
- typings/internalBinding
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2069 | 2069 | | |
2070 | 2070 | | |
2071 | 2071 | | |
2072 | | - | |
| 2072 | + | |
2073 | 2073 | | |
2074 | 2074 | | |
2075 | 2075 | | |
2076 | 2076 | | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
2077 | 2080 | | |
2078 | 2081 | | |
2079 | 2082 | | |
| |||
2082 | 2085 | | |
2083 | 2086 | | |
2084 | 2087 | | |
2085 | | - | |
| 2088 | + | |
2086 | 2089 | | |
| 2090 | + | |
| 2091 | + | |
2087 | 2092 | | |
2088 | 2093 | | |
2089 | 2094 | | |
| |||
2132 | 2137 | | |
2133 | 2138 | ||