I'm thinking of posting a question here, but am unsure how I should do so. The question is about comparing the performance of a piece of pure Python code vs a hybrid Python/C++ piece of code, glued together with Boost Python.
Now, I could (probably) create a minimal working example (MWE), but it would be quite long, and would have to include at least two code files (a Python one and a C++) + a build script (I use scons). Since the question also includes data input, I might also have to write some additional code to create such data input.
So, some alternatives for how to post this question are
Include all these files in my question, separated by markers.
Point to a code repository (I use Bitbucket) which people can grab the complete code from, and just post the most relevant snippets in the answer.
Just post the relevant snippet, which however is not compilable or runnable.
Opinions?