Commit ac78a90
committed
crypto: skip string tag allocation in AlgorithmIdentifier fast path
Use a direct `typeof` check in `converters.object` and
`converters.AlgorithmIdentifier` instead of the generic `type()` helper,
which returned an intermediate 'Object' / 'Null' / ... string tag.
Signed-off-by: Filip Skokan <panva.ip@gmail.com>1 parent 56bbb8d commit ac78a90
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
98 | 105 | | |
99 | 106 | | |
100 | 107 | | |
| |||
184 | 191 | | |
185 | 192 | | |
186 | 193 | | |
187 | | - | |
| 194 | + | |
188 | 195 | | |
189 | 196 | | |
190 | 197 | | |
| |||
319 | 326 | | |
320 | 327 | | |
321 | 328 | | |
322 | | - | |
323 | | - | |
| 329 | + | |
| 330 | + | |
324 | 331 | | |
325 | 332 | | |
326 | 333 | | |
| |||
0 commit comments