soenneker / soenneker.utils.autobogus

The .NET Autogenerator
https://soenneker.com
MIT License
22 stars 2 forks source link

(Performance idea) Code generation #156

Open VadymLevkovskyi opened 2 months ago

VadymLevkovskyi commented 2 months ago

Hello, Jake!

You've stated that one of this project goals is to Be fast.

I believe that using code generation is faster than using reflection, and (correct me if I'm wrong) current implementation of Binder is using the reflection. Are there any plans to use the code generation?

soenneker commented 2 months ago

@VadymLevkovskyi Thanks for your interest!

There are no plans to support code generation.. but I'm not opposed to it. Some of my initial thoughts:

Are you open to working on this?