Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Lazy loading

#5

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.

Reported by Dag Odenhall · May 16th, 2008 @ 03:24 PM

State: resolved
Milestone: First Release
Assigned to: Dag Odenhall Dag Odenhall

Activity

  1. Dag Odenhall
    Dag Odenhall
    • Milestone set to First Release
    • State changed from new to open

    May 16th, 2008 @ 03:47 PM

  2. Dag Odenhall
    Dag Odenhall
    • State changed from open to resolved

    (from [7b0fd82c7c8c3fedc842274205015e0ddb0f3f24]) Framework for lazy data [#5 state:resolved]

    http://github.com/dag/amazing/co...

    May 31st, 2008 @ 04:15 AM

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.