-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
-
DONE Equals: minor improvements #4123BuiltInPropertyRecords::XXXXXXXX.Equals
calls use 1:1 string comparison. Worst case usePropertyRecord
from specialized strings and compare the propertyId -
DONE string: Share buffer when it's possible #4163String::Equals
may share the content onceString1 == String2
Further comparison of those strings would be instant and we could GC the unnecessary copy. This needs more work. -
CharacterBuffer
internal class usage in TypeHandler Get/Set etc. calls require a quick investigation. Overall, some usage ofCharacterBuffer
can be replaced with propertyId from specialized string. -
We do convert from CHAR16 to CHAR for almost everything (JSRT). Experiment replacing CHAR16 to CHAR and see the gain. In other words, see what would happen if ChakraCore internally use CHAR type.
-
CompoundString alternative for concatenating two strings ?