Pinned Loading
-
-
Python object to dict
Python object to dict 1def to_dict(obj, class_key=None):
2if isinstance(obj, dict):
3data = {}
4for (k, v) in obj.items():
5data[k] = to_dict(v, class_key)
-
Python file read performance
Python file read performance 1import mmap
2import os
3import struct
4import time
5from functools import wraps
-
Python for loop performance
Python for loop performance 1import random
2import time
3from functools import wraps
45 -
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.