From 27e1bb77df081245022a7d307b9f5f50a0e817c8 Mon Sep 17 00:00:00 2001 From: Adriano Meligrana <68152031+Tortar@users.noreply.github.com> Date: Wed, 4 Sep 2024 00:45:48 +0200 Subject: [PATCH] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 3889fad..72cc8ac 100644 --- a/README.md +++ b/README.md @@ -138,6 +138,11 @@ vec_manytypes = collect(Union{A, B, C, D, E, F}, vals); tuple_sumtype = Tuple(S.(vals)); vec_sumtype = S.(vals); + +@benchmark sum($f, $tuple_manytypes) +@benchmark sum($f, $tuple_sumtype) +@benchmark sum($f, $vec_manytypes) +@benchmark sum($f, $vec_sumtype) ```