From 47a168571d0948235f4b76878df75023804a6fa0 Mon Sep 17 00:00:00 2001 From: Slade Jeppesen Date: Fri, 12 Jan 2024 07:54:10 -0700 Subject: [PATCH 1/3] replace main.vi with true LabVIEW version calculating prime number at 95% efficiency --- implementations/main.vi | Bin 4 -> 7536 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/implementations/main.vi b/implementations/main.vi index 84b79b1c26a8e44efca5be9b6f91707a8b8ea197..bb22d6effafbe7b7687f8ae240f9bc323baabc1f 100644 GIT binary patch literal 7536 zcmeHMc~lcg8t;TCX9f{a4uu3+jujY=;ZQ*#AS4hVKsXe|1cDe1mjV+8(2Rh}p)epC zG%6wruA;05u!;(Z4ub;-%PY`;34{`zk!p?_F93%tTgIX8j z5#Tlk{9$K+!3~jd^Pg~uUpaW~wpkH+$KKZf@JiqV$Aid?uM8cHl}P(b+pgFXaj6|k zvmfR_mvAFIdH#z@(oR?d+u4GRUVj^O_RhmK<~(3GxncnaA4iIQ!3$=Gef~kxW}MG> zeHLN4A&`Et%z}r3p!t?oW>#hva6oVdAXnIwAPjuQ2$lh*`KK|JPCFf?CM}HmiWHPJ z5Q=R*m$uG8<^HNC#l?eD%WFoy1wK4D7all&!N6i-UcnU=!9V~pw?GY(Td#b=J18-f3)5x|108f@U2=1L>e5DZ__a0r5A z4ndIY1+L(k!ILcS*d3VG1 zb;>Fk+MDe10EL+D`SpXbu^oH5k~2wDhnLLjblb^m*C5)&HS$lUa9oXZ4YWz?tSH?R z7JOB~eloY%K73Oyty!-uV4L&C&JCw^1{d|U9-Ry-I8|Q1-o{J8ea+7|+hY4x);XN= zcd=fp;5g3jiEc=;{CN-FEJ4Ot>$^ORHb3e@W9+$k>J}5*jL+Khl+KuWVBIV0`}<4W zd_77^Ou|ZgSu~qc`$>GM&I;S=t4`Zl!Ipf(q5ih3^(j8r38trQVpI#s*9Qc4eI@PI zNf%3+TUzw+VTB1l>~W2XZU)@%The;JbdaO-r9# zX6X>MTZT77ipr~2%cWu|T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9%!U+y z5_<#a>){H*7z{=jgUMj@#?n}dMom9@UX5V%#`lIY-YjqSbT87u6>c+&&`Mo2e=Q+ZlWc`0sxG)>S%HQ8O6B4ACE;Mdh6UNdd5|Gx zBpqewA=CldKA*JLf6@-)L1_>Vf)Kr&UwA}xIKiJX8(`oqqVIoxUj$T$5kUDBc$Z`c z>c!LmKVO7}F#5i9KQ|$^O9CI5sd$g)`0BQivORtuoH2#gp=zc Date: Fri, 12 Jan 2024 07:57:05 -0700 Subject: [PATCH 2/3] replaced with a highly optimized labview version --- optimized_implementations/main.vi | Bin 3 -> 7536 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/optimized_implementations/main.vi b/optimized_implementations/main.vi index 84413c97e80c3088d22d3096e3a4de2acc98e9e5..bb22d6effafbe7b7687f8ae240f9bc323baabc1f 100644 GIT binary patch literal 7536 zcmeHMc~lcg8t;TCX9f{a4uu3+jujY=;ZQ*#AS4hVKsXe|1cDe1mjV+8(2Rh}p)epC zG%6wruA;05u!;(Z4ub;-%PY`;34{`zk!p?_F93%tTgIX8j z5#Tlk{9$K+!3~jd^Pg~uUpaW~wpkH+$KKZf@JiqV$Aid?uM8cHl}P(b+pgFXaj6|k zvmfR_mvAFIdH#z@(oR?d+u4GRUVj^O_RhmK<~(3GxncnaA4iIQ!3$=Gef~kxW}MG> zeHLN4A&`Et%z}r3p!t?oW>#hva6oVdAXnIwAPjuQ2$lh*`KK|JPCFf?CM}HmiWHPJ z5Q=R*m$uG8<^HNC#l?eD%WFoy1wK4D7all&!N6i-UcnU=!9V~pw?GY(Td#b=J18-f3)5x|108f@U2=1L>e5DZ__a0r5A z4ndIY1+L(k!ILcS*d3VG1 zb;>Fk+MDe10EL+D`SpXbu^oH5k~2wDhnLLjblb^m*C5)&HS$lUa9oXZ4YWz?tSH?R z7JOB~eloY%K73Oyty!-uV4L&C&JCw^1{d|U9-Ry-I8|Q1-o{J8ea+7|+hY4x);XN= zcd=fp;5g3jiEc=;{CN-FEJ4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Z(=I|;9=faF*3LWrtODii2J9BdjJQ8iOIyIWfA{Y?-qc{MV zaT3Bf%pE&K;pIU*Jq!!OqS47<)i1hZz^+IF7-c+_nHawPQ$Ja7v#CT>NTGBbG6D=A zz6BvhfC!KVfX1NG69vaE*?N+W}$ZF`}&)4w?_%e4x9eDNutw4;&A9%!U+y z5_<#a>){H*7z{=jgUMj@#?n}dMom9@UX5V%#`lIY-YjqSbT87u6>c+&&`Mo2e=Q+ZlWc`0sxG)>S%HQ8O6B4ACE;Mdh6UNdd5|Gx zBpqewA=CldKA*JLf6@-)L1_>Vf)Kr&UwA}xIKiJX8(`oqqVIoxUj$T$5kUDBc$Z`c z>c!LmKVO7}F#5i9KQ|$^O9CI5sd$g)`0BQivORtuoH2#gp=zc Date: Fri, 12 Jan 2024 07:59:25 -0700 Subject: [PATCH 3/3] added LabVIEW to the ReadMe.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 926984a..ceea2f2 100644 --- a/README.md +++ b/README.md @@ -132,3 +132,4 @@ A: Thecoderunsfasterwhentherearenouselessspacesandnewlines. - X++ - Zig - Mira +- LabVIEW