I developed a dll x64 with Delphi 11.3 and this dll uses python4delphi to connect to python and then load a lengthy script:
GetPythonEngine..LoadDll();
GetPythonEngine.ExecStrings(Script);
Using this dll from c# application is much faster than loading from a delphi application.
Am I missing something? Thank you