[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] map format



Richard Jones wrote:

Consider reducing your data down to Python builtin types (list, dict, etc.) and use the marshal module instead. It's faster and has none of the potential hassles of pickling.

Although be warned that the marshal format is not guaranteed to remain the same across Python versions, so your marshalled maps might have portability problems.

I don't think it has actually changed in an incompatible
way for a long time, and the chance of it doing so in
the future is probably low, but it could happen.

--
Greg