Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Conditional Elimination

by pileofrogs (Priest)
on Sep 02, 2011 at 23:13 UTC ( #923950=note: print w/ replies, xml ) Need Help??


in reply to Conditional Elimination

Okay, I know this thread is kindof stale by now, but I had another thought I wanted to add.

If performance is important, you could write a script that writes your script. The actual script that computes the data would be unreadable but that wouldn't matter so much because you could make the script-that-creates-the-script as readable and slow as you like. You could even separate out the crazy 50 clause recipes into their own config file that non-coders can understand and maintain. Or! Say you've got a zillion recipes in an excell file or web page or whatever. Make it part of your process to parse that to create your config to create your actual script. (Having the intermediate step of creating a config file can help make it possible to check that the parsing of the original data is working correctly).

Okay! I know this thread was dead before I got here and no one is going to read this! Woo hoo!

Eat More Cake

--Pileofrogs


Comment on Re: Conditional Elimination
Re^2: Conditional Elimination
by dunnyman (Novice) on Sep 20, 2011 at 09:33 UTC
    Cheers - a good option. I'll give the database a try first.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://923950]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2014-09-03 06:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls