3 ms·
Interesting. For faster flattening of nested structures into paths -- and the inverse operation, unflattening -- you could use this Python C extension: https:/
by sigil 16y ago
Interesting. For faster flattening of nested structures into paths -- and the inverse operation, unflattening -- you could use this Python C extension:
https://github.com/acg/python-flattery https://github.com/acg/python-flattery
Full disclosure, I'm the author. ;) It uses "." as the path separator, but would be easy to allow "/".