src: improve KVStore API · nodejs/node@7152fe3 · GitHub
Skip to content

Commit 7152fe3

Browse files
lundibunditargos
authored andcommitted
src: improve KVStore API
This adds `const char*` based APIs to KVStore to avoid multiple string conversions (char -> Utf8 -> Local -> char etc.) when possible. PR-URL: #31773 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent f9123eb commit 7152fe3

2 files changed

Lines changed: 48 additions & 20 deletions

File tree

src/env.h

Lines changed: 2 additions & 0 deletions

src/node_env_var.cc

Lines changed: 46 additions & 20 deletions

0 commit comments

Comments
 (0)