#5 ✓resolved
Dag Odenhall

Lazy loading

Reported by Dag Odenhall | May 16th, 2008 @ 03:24 PM | in First Release

Idea

Framework for creating lazy loading data, and employ in some modules. There could also later be a generic Statgrab module lazily loading everything statgrab knows.

Implementation

Maybe a class that loads data on to_s to_i etc or maybe inspect calls, so using lazy fields is seamless in format strings and interpolation.

Benefits

We can then have less but more relevant modules, without loading what is not used. For example, CpuInfo and CpuUsage could merge into one single Cpu module.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

An amazing widget manager for an awesome window manager

People watching this ticket

Tags

Pages