reegeek / StructLinq

Implementation in C# of LINQ concept with struct
MIT License
297 stars 11 forks source link

StructLinq performance degradation #236

Open ksysiekj opened 8 months ago

ksysiekj commented 8 months ago

hello, working on some performance improvements in my project and encountered your this project. Also found similar one [NoAlloq] (https://github.com/VictorNicollet/NoAlloq). Ran some benchmarks and turned out that StructLinq is worst when it comes to simple filtering and projecting. My benchmark code and it result could be found here

Can you please advise on what I'm doing wrong?

reegeek commented 7 months ago

Hi, I can reproduce your figures. I made some modifications and by example if you transform User in a struct, performances are better.

For the moment, I don't understand why.

DrJakiellSWO commented 4 months ago

@reegeek any update?

reegeek commented 4 months ago

Hi, I have no simple solution to improve performance. Moreover, I have less time to work on this project.