RickStrahl / Expando

Extensible dynamic types for .NET
108 stars 30 forks source link

performance #10

Closed dkuida closed 6 years ago

dkuida commented 7 years ago

I have used the library extensively on a large project where - node'js would be a good fit. I had porformance issues that I suspect trace to it - I would like to improve that - suggestions ?

I mean around 17K rows can take around couple of hours to process

RickStrahl commented 7 years ago

Need more info on what you're doing.

Dynamic will always have extra overhead since it's all indirect referencing. But hours sounds crazy. Behind the scenes is just dictionaries and dynamic prop access which after the first instantiation should be reasonably fast.