-
-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the feature flag for NaN boxing now that were closer in perf
- Loading branch information
Showing
4 changed files
with
0 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,3 @@ | ||
//! Module implementing the operations for the inner value of a `[super::JsValue]`. | ||
//! | ||
//! The `[InnerValue]` type is an opaque type that can be either an enum of possible | ||
//! JavaScript value types, or a 64-bits float that represents a NaN-boxed JavaScript | ||
//! value, depending on feature flags. By default, the behaviour is to use the | ||
//! enumeration. | ||
#[cfg(feature = "nan-box-jsvalue")] | ||
mod nan_boxed; | ||
|
||
#[cfg(feature = "nan-box-jsvalue")] | ||
pub(crate) use nan_boxed::NanBoxedValue as InnerValue; | ||
|
||
#[cfg(not(feature = "nan-box-jsvalue"))] | ||
mod enum_value; | ||
|
||
#[cfg(not(feature = "nan-box-jsvalue"))] | ||
pub(crate) use enum_value::EnumBasedValue as InnerValue; |
This file was deleted.
Oops, something went wrong.