Jack Mott
Jack Mott
Parallel LinqFaster vs regular Linq Parallel, list of ints ``` ini BenchmarkDotNet=v0.10.3.0, OS=Microsoft Windows NT 6.2.9200.0 Processor=Intel(R) Core(TM) i7-6700 CPU 3.40GHz, ProcessorCount=8 Frequency=3328121 Hz, Resolution=300.4698 ns, Timer=TSC [Host] : Clr...
You can't get much faster than that without a SIMD implementation. A small thing you can do is don't use `length` in the for loop, use values.Length, this will ensure...
feel free to submit a PR with the above one! the pain is that you have to implement it for every primitive type. So its easy just annoying.
can you give some usage examples you would like to see? im not sure it will be possible to improve performance with dictionary but i could investigate
Thanks for testing that, probably something awry with CPU detection. what hardware is the osx box?
Check out this post: https://stackoverflow.com/questions/14268887/what-is-the-illegal-instruction-4-error-and-why-does-mmacosx-version-min-10 Any chance that is relevant? Can you set minversion and resolve it?
I wonder if you put a bunch of echos in the cpu identification code to narrow down the LOC that causes the fault? I have no way to debug OSX...
@sdwfrost just wanted to let you know I am occasionally trying to figure this out as I have time. Been inquiring on the nim forums.
@sdwfrost new version of nim, and all new cpu detection code! If you can get latest and try this with nim 0.18 and let me know what you get I...
@Yardanico hmm, I'm trying to emit both styles of assembly depending on the C compiler used.