We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea2e097 commit 720d714Copy full SHA for 720d714
doc/contributing/primordials.md
@@ -122,6 +122,9 @@ performance of code in Node.js.
122
* `SafePromiseAny`
123
* `SafePromiseRace`
124
* `SafePromisePrototypeFinally`: use `try {} finally {}` block instead.
125
+* `ReflectConstruct`: Also affects `Reflect.construct`.
126
+ `ReflectConstruct` creates new types of classes inside functions.
127
+ Instead consider creating a shared class. See [nodejs/performance#109](https://github.com/nodejs/performance/issues/109).
128
129
In general, when sending or reviewing a PR that makes changes in a hot code
130
path, use extra caution and run extensive benchmarks.
0 commit comments