3 ms·
Interesting case: x = [1,2,3] x << 4 > haskell: 0.94, ruby: 0.03, swift: 0.01 x = [1,2,3] x << 4 puts x > ruby: 0.89, haskell: 0.10, swi
by leoh 10y ago
Interesting case:
x = [1,2,3]
x << 4
> haskell: 0.94, ruby: 0.03, swift: 0.01
x = [1,2,3]
x << 4
puts x
> ruby: 0.89, haskell: 0.10, swift: 0.00
- pprogrammer 10y agoputs is probably much more informative than <<