News for hackers. Stuff that matters.
Re:Apache Arrow 3.0 by tyingq on Wednesday February 03, 2021 @08:01PM (#26021328)
"much faster than Pickle"

That isn't saying much, though.

https://www.benfrederickson.com/images/python-serialization/...

Re:Apache Arrow 3.0 by jzer0cool on Wednesday February 03, 2021 @08:29PM (#26021512)
Unrelated: What is this *pickle* term origin?

Python errors sometimes generate some "Could not pickle" errors and not sure what it tries to convey ...

Re:Apache Arrow 3.0 by tyingq on Wednesday February 03, 2021 @08:31PM (#26021522)
Pickling a cucumber stores and preserves it for later use, so the term is used for serialization. Still an odd analogy though, since you can't unpickle a pickle. I've heard freeze/thaw which is at least a little better.
Re:Apache Arrow 3.0 by jdub on Wednesday February 03, 2021 @09:20PM (#26021821)
It's Python. So it's Monty Python.
Re:Apache Arrow 3.0 by bobbylarrybobby on Wednesday February 03, 2021 @09:56PM (#26022057)
Pickle is the Python module that (de)serializes Python objects to some sort of binary format. Failure to pickle means the object couldn’t be serialized — the most common instance is probably trying to pass a lambda to a multiprocessing worker, because they don’t have names (you should use a def or functions.partial instead).