[melbourne-pug] mapping strings to class
lemeia
lemeia at bigpond.com
Mon Jan 9 17:56:29 CET 2006
Actually, I ditched the exec approach.
I decided it might be less problematic to only put the conditions themselves in eval statements.
This is now working.
Of course I am now coping with a significant slow down in the processing run but that was expected.
I am going to see if compiling the conditions before the run brings about any improvement, but I think I'm probably going to have to tolerate some slow down as a price to pay for the many dynamic conditions I'm evaluating.
Patrick
=====
Message: 1
Date: Sun, 08 Jan 2006 22:10:54 +1100
From: Tennessee Leeuwenburg <tennessee at tennessee.id.au>
Subject: Re: [melbourne-pug] mapping strings to class
To: Melbourne Python Users Group <melbourne-pug at python.org>
Message-ID: <43C0F33E.8000902 at tennessee.id.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Sounds like you've fallen off the bandwagon somewhere. Could you please
give some more detail on the problem?
Cheers,
-T
More information about the melbourne-pug
mailing list