MCPcopy Create free account
hub / github.com/ActiveState/code / recipe-545418.py

File recipe-545418.py

recipes/Python/545418_Pickle_Optimizer/recipe-545418.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from pickletools import genops
2
3def optimize(p):
4 'Optimize a pickle string by removing unused PUT opcodes'

Callers

nothing calls this directly

Calls 3

dumpsFunction · 0.85
disFunction · 0.85
optimizeFunction · 0.70

Tested by

no test coverage detected