Ticket #105 (new enhancement)

Opened 4 years ago

Last modified 3 years ago

Make directory.parent.path as efficient as directory.parent_path

Reported by: mlandauer Assigned to: mlandauer
Priority: major Milestone:
Component: Daemon Version:
Keywords: Cc:

Description

This should be an improvement to faster_nested_set

If we know what the parent of an object is we should cache that and use it when you do directory.parent. This way we could efficiently (in memory) calculate a directory path without using a db access when a full directory tree structure is stored in memory. It would also be slightly prettier than specifically caching parent_path.

Change History

02/16/07 10:57:35 changed by bruno

  • milestone set to Uncommited Work.

Assigning to the right milestone.

10/18/07 16:06:13 changed by matthewl

  • milestone deleted.

Milestone Uncommited Work deleted