From de1a34f9ebd0de900f57047234a7d5ccbcd1acb5 Mon Sep 17 00:00:00 2001 From: Christian Guinard <28689358+christiangnrd@users.noreply.github.com> Date: Tue, 13 Aug 2024 07:01:44 -0300 Subject: [PATCH] Use latest Julia version to represent current performance (#972) * Use latest Julia version to represent current performance * Use latest stable 1.X version --- PrimeJulia/solution_1/Dockerfile | 2 +- PrimeJulia/solution_2/Dockerfile | 2 +- PrimeJulia/solution_3/Dockerfile | 2 +- PrimeJulia/solution_3/README.md | 4 ++-- PrimeJulia/solution_4/Dockerfile | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PrimeJulia/solution_1/Dockerfile b/PrimeJulia/solution_1/Dockerfile index decf14cdf..982f83436 100644 --- a/PrimeJulia/solution_1/Dockerfile +++ b/PrimeJulia/solution_1/Dockerfile @@ -1,4 +1,4 @@ -FROM julia:1.6-alpine3.13 +FROM julia:1-alpine WORKDIR /opt/app diff --git a/PrimeJulia/solution_2/Dockerfile b/PrimeJulia/solution_2/Dockerfile index fbbfbaf6c..e73d5c67d 100644 --- a/PrimeJulia/solution_2/Dockerfile +++ b/PrimeJulia/solution_2/Dockerfile @@ -1,4 +1,4 @@ -FROM julia:1.6.1-alpine3.13 +FROM julia:1-alpine WORKDIR /opt/app diff --git a/PrimeJulia/solution_3/Dockerfile b/PrimeJulia/solution_3/Dockerfile index 1578aafbc..a1cd012cd 100644 --- a/PrimeJulia/solution_3/Dockerfile +++ b/PrimeJulia/solution_3/Dockerfile @@ -1,4 +1,4 @@ -FROM julia:1.6-buster +FROM julia:1 WORKDIR /opt/app diff --git a/PrimeJulia/solution_3/README.md b/PrimeJulia/solution_3/README.md index aa8f9e71d..8c4e3b935 100644 --- a/PrimeJulia/solution_3/README.md +++ b/PrimeJulia/solution_3/README.md @@ -10,7 +10,7 @@ optimizations. This is a sort-of "low-level" style implementation in Julia to get as much as speed as possible out of the language. It is *not* designed to be idiomatic Julia code. -This solution requires at least **Julia 1.5** to run. Julia 1.6 is +This solution requires at least **Julia 1.5** to run. the latest stable 1.X Julia version is recommended and is used in the Docker image. ## Description @@ -40,7 +40,7 @@ and bits are unset when the number is *prime*. This simplifies the set_bit operation slightly (`arr[i] |= mask vs. arr[i] &= ~mask`). If you see any room for improvement in the code or have any -suggestions, don't hesitate to open an issue, pull request (PR), +suggestions, don't hesitate to open an issue, pull request (PR), Discussion, or the like. Don't forget to tag me at `@louie-github` so I can be notified if my personal input is either wanted or needed. I'm open to fixing stylistic issues or discussing cosmetic changes to diff --git a/PrimeJulia/solution_4/Dockerfile b/PrimeJulia/solution_4/Dockerfile index 8c1f2fc9b..fde5f0052 100644 --- a/PrimeJulia/solution_4/Dockerfile +++ b/PrimeJulia/solution_4/Dockerfile @@ -1,4 +1,4 @@ -FROM julia:1.6-buster +FROM julia:1 WORKDIR /opt/app