-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
lib / srcIssues and PRs related to general changes in the lib or src directory.Issues and PRs related to general changes in the lib or src directory.
Description
Is there any reason why bitfields are not used more in NodeJS?
e.g. the readable and writable state footprint can easily be reduced by more than 50% by switching all of those different boolean flags into a single 16/32 bit bitfield. Reducing memory usage and improving CPU cache access.
Is this something worth investigating?
chjj
Metadata
Metadata
Assignees
Labels
lib / srcIssues and PRs related to general changes in the lib or src directory.Issues and PRs related to general changes in the lib or src directory.