0
我读Django的source code上django.core.files.base
为什么django文件类设置为DEFAULT_CHUNK_SIZE = 64 * 2 ** 10?
@python_2_unicode_compatible
class File(FileProxyMixin):
DEFAULT_CHUNK_SIZE = 64 * 2 ** 10
为什么默认CHUNK_SIZE 65536?有什么理由呢?
合理的大小。而已。 – hsfzxjy