Actions
Idea #7832
closed[FUSE] [SDKs] Define __slots__ to improve memory utilization
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
Start date:
11/20/2015
Due date:
Story points:
0.5
Description
Both arv-get and FUSE use a lot of memory. Idea: define __slots__
for classes where it will noticeably improve memory utilization.
First class candidates: objects that are both instantiated commonly and long-lived. The Collection classes, File classes, Range, and LocatorAndRange in the SDK. The Directory and File classes in FUSE.
Second class candidates: objects that are instantiated commonly but with shorter lives. KeepService, ThreadLimiter, RetryLoop.
Actions