When you say, "as a raw strings of bytes", you mean like this? 010101010110deshipu wrote: Yes, you can do it -- if you are using numbers. However, if you want to save space, at some point you will want to save this as raw
strings of bytes.
Does this save space, as opossed as using numbers? In code, i would occupy more characters, no?
Interesting technique, to wich I am completely new. How do you convert it to hexadecimal, and, more importantly, how do you save it as "compiled bytecode"? I looked into and I found about pyc_compile. So you would use python 3.5, for instance, and compile some parts into bytecode? How do you then implement it into the project, by putting the pyc file somewhere?deshipu wrote: At some point I would probably save this as one large string, something like this:
When is this technique recommended, in your oppinion?