vector construction

This commit is contained in:
Bogumił Kamiński
2022-05-01 19:30:25 +02:00
parent 673137835e
commit aa03a9e4df

View File

@@ -38,6 +38,11 @@ using BenchmarkTools
@benchmark (1, 2, 3) @benchmark (1, 2, 3)
@benchmark [1, 2, 3] @benchmark [1, 2, 3]
# Code comparing vector and tuple construction
[1, 1.0]
(1, 1.0)
# Code for section 4.1.2 # Code for section 4.1.2
using Statistics using Statistics