src: implement util.types fast API calls · nodejs/node@14d751a · GitHub
Skip to content

Commit 14d751a

Browse files
BridgeARRafaelGSS
authored andcommitted
src: implement util.types fast API calls
All util.types.is##Type() calls are ported to the fast API. This improves the performance for multiple APIs such as: - util.inspect (and util.format and console methods respectively) - util.isDeepStrictEqual - assert.(not)deepEqual (including strict and partial mode) It will also improve any other API where these APIs are used. PR-URL: #57819 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 073d40b commit 14d751a

2 files changed

Lines changed: 525 additions & 38 deletions

File tree

src/node_types.cc

Lines changed: 80 additions & 37 deletions

0 commit comments

Comments
 (0)