Project

General

Profile

Actions

Idea #7832

closed

[FUSE] [SDKs] Define __slots__ to improve memory utilization

Added by Brett Smith over 8 years ago. Updated over 8 years ago.

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.


Subtasks 1 (0 open1 closed)

Task #7867: Review 7832-pysdk-use-slotsResolvedPeter Amstutz11/20/2015Actions
Actions

Also available in: Atom PDF