Commit 4f1ae11
module: eliminate double
`process.env` access results in a synchronous `getenv` call. Cache the
first result instead and save one syscall.getenv()
1 parent 9d28193 commit 4f1ae11
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
| 519 | + | |
519 | 520 | | |
520 | | - | |
| 521 | + | |
521 | 522 | | |
522 | 523 | | |
523 | 524 | | |
| |||
0 commit comments