Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Conditional Elimination

by pileofrogs (Priest)
on Sep 02, 2011 at 23:13 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://923950]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-24 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found