HomePhorge

Use FileCollection to store the pathname part of files
cc09c1af21e2Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Use FileCollection to store the pathname part of files

Using the FileCollection to store the path parts allows to represent
a common path prefix by an integer.
This way the memory used to manage deep hierarchies is reduced.
The reduction factor depends on the number of managed files per
directories: the more files in a directory, the more they will share
the same common prefix, and the better we'll gain.
Early tests on a 5 level deep hierarchy containing 100 files
per level show about a 50% less memory consumption.

Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>

Details

Provenance
Brice Figureau <brice-puppet@daysofwonder.com>Authored on
James Turnbull <james@lovedthanlost.net>Committed on May 2 2009, 1:08 AM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUd51d87e1f04b: Add an unmunge capability to type parameters and properties
Branches
Unknown
Tags
Unknown

Event Timeline

James Turnbull <james@lovedthanlost.net> committed rPUcc09c1af21e2: Use FileCollection to store the pathname part of files (authored by Brice Figureau <brice-puppet@daysofwonder.com>).May 2 2009, 1:08 AM