Richter03

Results 21 comments of Richter03

@craigajohnson It's not that good, I test `ref struct` and it no difference with normal struct on JIT Asm(CLR), I doubt it's better than normal struct; `pointer` is easy to...

I'm optimize it with unfaithful and got result almost twice from current code, any suggestion before I pull merge ? https://github.com/RevensofT/Primes/tree/drag-race/PrimeBASIC/solution_2 Edit: I add faithful version and testing, however both...

@pricerc Your suggestion aren't work, loop won't stop, I hope to see your revision and if you have some time, could you test my code on your machine ? I...

Did you try on `remove integer overflow check` option ? it's in compile option, in most case it boot code performance.

You maybe not believe it but change result `sqrt` to `Integer` make performance down by 1% instead on my code and performance of `Dim Sieve_sqrt As Integer = CInt(Math.Floor(Math.Sqrt(value)))` and...

Great upgrade algorithm, you merge loop from check_prim and find_prim together which improve performance a lot. On my test, your algorithm got 10% faster then base algorithm and my rewrite...

@hartmair I test your new BitArray but always got incorrect result. Test result: ``` C:\>dotnet run -c "release free" --project "repos\Prime" rber_gen_vb;2038;5.0007981;1;algorithm=base,faithful=yes,bits=1 hartmair_gen_vb;2236;5.0008227;1;algorithm=base,faithful=yes,bits=1 hartmair_rewrite_gen_vb;2390;5.0002147;1;algorithm=base,faithful=yes,bits=1 WARNING: result is incorrect! hartmair_rewrite_BA2_gen_vb;2598;5.0020134;1;algorithm=base,faithful=yes,bits=1 rbergen_vb;2058;5.0003475;1;algorithm=base,faithful=no,bits=1...

@rskar-git I believe in choice, instead force to do or not to do I believe give a choice for user to use it or not is much better, if they...

@rskar-git It's normally, isn't it ? When people has a freedom, some might do something stupid, some might do something harm themselves but it's also a beautiful of freedom, isn't...

@rskar-git An employer/corporation already has power to decide how to code, their reputation are link with finish program so I believe only those code for fun are fit your worry...