Commit 6cba07e
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 41c3e29 commit 6cba07e
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 | | |
| |||
339 | 346 | | |
340 | 347 | | |
341 | 348 | | |
342 | | - | |
343 | | - | |
| 349 | + | |
| 350 | + | |
344 | 351 | | |
345 | 352 | | |
346 | 353 | | |
| |||
0 commit comments