Open kof opened 7 years ago
Should we also go for all string values? Benchmark shows a considerable perf benefit in v8, if it is not flowed: https://esbench.com/bench/592d599e99634800a03483d8
[
1, 1,
2, 'body',
3, 'color',
4, 'red',
5
]
will become
[
'1', '1',
'2', 'body',
'3', 'color',
'4', 'red',
'5'
]
[1,1,2,"body",3,"color",4,"red",5]
=> 1\n1\n\n2\n\nbody\n\n3\n\ncolor\n4\nred\n5
Should we go for single array? As consequence we will only be able to express this:
Right now it seems to work nicely.
will become