You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
There's `ConstFrozenStringN` type, which is `*FrozenValue` i. e. data, while `ConstFrozenString` is actually a `FrozenValue`, i. e. pointer.
`FrozenStringValue` name is more consistent. Also, the type has nothing to do with type being "const" (which means here statically allocated), it can store frozen heap allocated value.
Additionally, following diff D30884361 adds `StringValue` type. So the relation is:
* `FrozenStringValue` is a wrapper for `FrozenValue`
* `StringValue` is a wrapper for `Value`
Reviewed By: ndmitchell
Differential Revision: D30884360
fbshipit-source-id: 55493f25808ee47a090f52e3ab5062956f5d2c4a
0 commit comments