Markus Hartmair

Results 16 comments of Markus Hartmair

For me this proposal feels a lot like hacking the VB language when the .NET Framework should be fixed insted. The problem here is, that some collection should have implemented...

This problem is similar to #541. I'd be happy to see all this flavours of type matching be covered by a general pattern matching syntax like #367 so far.

@KathleenDollard > It's actually the code case I'd like to see. I think people overestimate what this feature does. This is what I've been using so far: ```VB.NET ' String...

This issue should be moved to EF repo, right? (AggressiveInlining and IQueryable to SQL is nothing special to VB)

This issue belongs to [.NET runtime](https://github.com/dotnet/runtime/issues) repository, right?

First idea: - Replace BitArray by Boolean-array, see https://stackoverflow.com/questions/33500207/bitarray-vs-bool#:~:text=BitArray%20is%20compact%20and%20allows,or%20an%20array%20of%20integers. Although I liked VB.NET; what is the point in writing a VB.NET version if it is a proper subset of C#...

> One thing I was experimenting with, but breaks the 'faithful' algorithm, is instead of calling SQRT to find the _square root_ at the beginning of a loop, was to...

> You maybe not believe it but change result sqrt to Integer make performance down by 1% instead I didn't expect this^^ Maybe because `CInt` involves rounding, which may result...

I could get around 18% improvement on my machine by doing the following: - Inline helper methods `check_prim`, `find_prim` - Replace divisions and multiplications times two by shifting left or...

I could get another +25% improvement, though I am not convinced it is worth it: - Swap `True` and `False` for `primes` - Inlining `BitArray` from dotnet runtime ```vb Imports...