[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mason-devel
Subject:    Re: [Mason-devel] Access to stat
From:       Hunter Thomas <hunter () sasquatch ! com>
Date:       2003-07-18 21:57:32
[Download RAW message or body]

Sounds reasonable. I'll rely on stat and the filesystem to cache such a
recently accessed file. Thanks!

On Fri, 18 Jul 2003, Dave Rolsky wrote:

> On Thu, 17 Jul 2003, Hunter Thomas wrote:
>
> > I agree that increasing memeory usage by as much as keeping the comp
> > source with each would be prohibative to solve a task such as this. At
> > that rate, it would be more efficient to redo the stat, because the file
> > would still most likely be cached by the OS and be a cheap op. Would it be
> > possible to have it be saved optionally, perhaps with another flag to the
> > constructor? If so, then it would be controlable to, for example, only do
> > so for the top level components, which in this case, would be the only
> > components I'd need to get additional information from. Then I'd only
> > need to create a custom apachehandler subclass and use that.
>
> Mason already has _so many_ parameters, I'm extremely hesitant to add
> more.  In particular, I don't like the idea of a parameter that matches a
> method one-to-one, because for this we'd need a new component object
> method (or some object), and this new method would only work if the
> parameter was set.  That seems very awkward.
>
> We can revisit this as we redesign pieces of Mason but for now, I don't
> see a way to cleanly add this feature.
>
>
> -dave
>
> /*=======================
> House Absolute Consulting
> www.houseabsolute.com
> =======================*/
>

Hunter Thomas
Technical Support
hunter@sasquatch.com

Sasquatch Computer
55 River St. Suite 250
Santa Cruz, CA 95060
local: 831-420-1053
toll free: 877-524-5237
fax: 831-420-0468

Internet solutions since 1994



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Mason-devel mailing list
Mason-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic