From cfdc8edfff2cbf494d82235e059560ab80f7c90d Mon Sep 17 00:00:00 2001 From: Ben Burrill Date: Fri, 24 Nov 2023 08:49:19 -0800 Subject: [PATCH] Remove initial write_array in mergesort.hid --- examples/mergesort.hid | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/examples/mergesort.hid b/examples/mergesort.hid index 397b71b..df6a7ec 100644 --- a/examples/mergesort.hid +++ b/examples/mergesort.hid @@ -79,13 +79,9 @@ empty write_array(const int[] arr) { } empty @is_you(int[] arr) { - write("Before: "); - write_array(arr); - writeln(); - progress(); // To show performance of @sort @sort(arr); - progress(); - write("After: "); + progress(); // To show time to run @sort + write("Sorted: "); write_array(arr); writeln(); }