to-fast-properties
Advanced tools
Weekly downloads
Readme
Force V8 to use fast properties for an object
Use %HasFastProperties(object)
and --allow-natives-syntax
to check whether an object already has fast properties.
$ npm install to-fast-properties
import toFastProperties from 'to-fast-properties';
const object = {
foo: true,
bar: true
};
delete object.foo;
// `object` now has slow properties
toFastProperties(object);
// `object` now has fast properties
FAQs
Force V8 to use fast properties for an object
The npm package to-fast-properties receives a total of 31,757,646 weekly downloads. As such, to-fast-properties popularity was classified as popular.
We found that to-fast-properties demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.