On Mon, Aug 27, 2001 at 11:37:39AM -0500, Ian Bicking wrote:
> Drew Csillag <[EMAIL PROTECTED]> wrote:
> > Another thing for SkunkWeb performance. You want to turn off
> > userModuleCleanup. If on, it clears out any modules that were loaded
> > during the course of processing the request, which in a development
> > environment is what you want since you don't want to HUP the server
> > every time you make a module change, but in a production environment,
> > it can be a significant performance hit.
>
> Oooo... we should do that in Webware too. That's much simpler than
> all the other techniques tossed around, but should still by a lot
> faster than OneShot.
I don't think it'd work quite right unless each thread is running in
it's own separate interpreter though (you might hose one of the other
requests being handled in another thread).
Drew
--
print(lambda(m,d,y):['Sun','Mon','Tues','Wednes','Thurs','Fri','Satur'
][(lambda(m,d,y):(23*m/9+d+4+y/4-y/100+y/400)%7)(m<3and(m,d+y,y-1)or(
m,d+(y-2),y))])(map(int,raw_input('mm/dd/yyyy>').split('/')))+'day'
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel