mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
af70c3b478
- Add separate APIs for creating different kinds of numbers, because creating a V8 number value from an integer is faster than creating one from a double. - When getting number values, avoid getting the current context because the context will not actually be used and is expensive to obtain. - When creating values, don't use v8::TryCatch (NAPI_PREAMBLE), because these functions have no possibility of executing JS code. Refs: https://github.com/nodejs/node/issues/14379 PR-URL: https://github.com/nodejs/node/pull/14573 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> |
||
---|---|---|
.. | ||
1_hello_world | ||
2_function_arguments | ||
3_callbacks | ||
4_object_factory | ||
5_function_factory | ||
6_object_wrap | ||
7_factory_wrap | ||
8_passing_wrapped | ||
test_array | ||
test_async | ||
test_buffer | ||
test_constructor | ||
test_conversions | ||
test_dataview | ||
test_env_sharing | ||
test_error | ||
test_exception | ||
test_fatal | ||
test_function | ||
test_general | ||
test_handle_scope | ||
test_make_callback | ||
test_make_callback_recurse | ||
test_number | ||
test_object | ||
test_properties | ||
test_reference | ||
test_string | ||
test_symbol | ||
test_typedarray | ||
.gitignore | ||
common.h | ||
testcfg.py |