From aa03a9e4df4ca4ec048e404042ef9fd1ba50a416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogumi=C5=82=20Kami=C5=84ski?= Date: Sun, 1 May 2022 19:30:25 +0200 Subject: [PATCH] vector construction --- ch04.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ch04.jl b/ch04.jl index 3db6eb4..2ef7950 100644 --- a/ch04.jl +++ b/ch04.jl @@ -38,6 +38,11 @@ using BenchmarkTools @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 using Statistics