Nethereum/abi-code-gen

Use template-literal instead of EJS

Drulac opened this issue · 5 comments

Template Literal is fastest, smallest and simplest template engine, because it use JS's literal template feature.

It's 55 times faster than EJS, and it also use less CPU and RAM ressources, so it may be a good idea to use it instead of EJS 😀

Ill have a look at your project @Drulac ;) Thanks!

Also, the concept is portable for c#

StefH commented

For .NET C#, there is also https://github.com/rexm/Handlebars.Net

I have used RazorLight
https://github.com/Nethereum/Nethereum/blob/master/src/Nethereum.Generator.Console/Nethereum.Generator.Console.csproj#L20

Note I need to push the upgraded version
Edit: I pushed that now ;)

you're welcome :-)