Accessing GetFEM variables by reference in Python

Hello Kostas,
The python command md.variable(“variable”) returns the variable by value.
My question is: is there a way to access a GetFEM variable by reference in Python?
I would like to implement a complex Cythonized routine aimed to the performance.

Thank you,
Lorenzo

Dear Lorenzo, this is not how the scripting interface was meant to be used. There is no provision for providing this kind of low level access. The best strategy for this kind of optimizations is to switch to C++.
Best regards
Kostas