Hi,
just wanted to know if there is a reason (other than we more important things to do than that), why procs and converters are not inlined by nim when marked as such. I know you can always use a template - but not for converters (normally they are just a cast to make the typing the way you want). For js this could be an improvement too.
What is exactly your problem? Can you give examples?
The real inlining is of course done by the C compiler, maybe your one is too weak. And using Link Time Optimization LTO can give even better inlining. GCC and clang support -flto flag, where clang needed gold linker for that in the past.
Try my just uploaded module, metatools. There is a macro, inlineProcs. See one of the test examples: https://github.com/jxy/metatools/blob/master/test/tinline000.nim
I'll put in documents later.