diff --git a/_notebooks/2024-04-03-allsorts.ipynb b/_notebooks/2024-04-03-allsorts.ipynb index e06401d..4385b43 100644 --- a/_notebooks/2024-04-03-allsorts.ipynb +++ b/_notebooks/2024-04-03-allsorts.ipynb @@ -442,7 +442,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 6, "metadata": { "vscode": { "languageId": "java" @@ -466,7 +466,7 @@ "user:derpy tokens: 200\n", "user:birdie tokens: 4000\n", "user:shiny tokens: 29312\n", - "Runtime of bubble sort: 13510 nanoseconds\n", + "Runtime of bubble sort: 4706 nanoseconds\n", "\n", "after selection sort:\n", "user:dash tokens: 100\n", @@ -474,7 +474,7 @@ "user:derpy tokens: 200\n", "user:birdie tokens: 4000\n", "user:shiny tokens: 29312\n", - "Runtime of selection sort: 7088 nanoseconds\n", + "Runtime of selection sort: 5291 nanoseconds\n", "\n", "after merge sort:\n", "user:dash tokens: 100\n", @@ -482,7 +482,7 @@ "user:derpy tokens: 200\n", "user:birdie tokens: 4000\n", "user:shiny tokens: 29312\n", - "Runtime of merge sort: 6661 nanoseconds\n", + "Runtime of merge sort: 5487 nanoseconds\n", "\n", "after insertion sort:\n", "user:dash tokens: 100\n", @@ -490,7 +490,7 @@ "user:derpy tokens: 200\n", "user:birdie tokens: 4000\n", "user:shiny tokens: 29312\n", - "Runtime of insertion sort: 3509 nanoseconds\n", + "Runtime of insertion sort: 2355 nanoseconds\n", "\n", "after quick sort:\n", "user:dash tokens: 100\n", @@ -498,7 +498,7 @@ "user:derpy tokens: 200\n", "user:birdie tokens: 4000\n", "user:shiny tokens: 29312\n", - "Runtime of quick sort: 2225 nanoseconds\n" + "Runtime of quick sort: 2737 nanoseconds\n" ] } ], diff --git a/_posts/2024-04-03-allsorts_IPYNB_2_.md b/_posts/2024-04-03-allsorts_IPYNB_2_.md index 58ff131..85d3151 100644 --- a/_posts/2024-04-03-allsorts_IPYNB_2_.md +++ b/_posts/2024-04-03-allsorts_IPYNB_2_.md @@ -751,7 +751,7 @@ ChatUsers.main(null); user:derpy tokens: 200 user:birdie tokens: 4000 user:shiny tokens: 29312 - Runtime of bubble sort: 13510 nanoseconds + Runtime of bubble sort: 4706 nanoseconds after selection sort: user:dash tokens: 100 @@ -759,7 +759,7 @@ ChatUsers.main(null); user:derpy tokens: 200 user:birdie tokens: 4000 user:shiny tokens: 29312 - Runtime of selection sort: 7088 nanoseconds + Runtime of selection sort: 5291 nanoseconds after merge sort: user:dash tokens: 100 @@ -767,7 +767,7 @@ ChatUsers.main(null); user:derpy tokens: 200 user:birdie tokens: 4000 user:shiny tokens: 29312 - Runtime of merge sort: 6661 nanoseconds + Runtime of merge sort: 5487 nanoseconds after insertion sort: user:dash tokens: 100 @@ -775,7 +775,7 @@ ChatUsers.main(null); user:derpy tokens: 200 user:birdie tokens: 4000 user:shiny tokens: 29312 - Runtime of insertion sort: 3509 nanoseconds + Runtime of insertion sort: 2355 nanoseconds after quick sort: user:dash tokens: 100 @@ -783,5 +783,5 @@ ChatUsers.main(null); user:derpy tokens: 200 user:birdie tokens: 4000 user:shiny tokens: 29312 - Runtime of quick sort: 2225 nanoseconds + Runtime of quick sort: 2737 nanoseconds