to-fast-properties
Advanced tools
Force V8 to use fast properties for an object
Weekly downloads
Changelog
https://github.com/sindresorhus/to-fast-properties/compare/v3.0.1...v4.0.0
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
Force V8 to use fast properties for an object
The npm package to-fast-properties receives a total of 25,689,865 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. It has 1 open source maintainer collaborating on the project.