Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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


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?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2021-01-21 12:21 GMT
Find Nodes?
    Voting Booth?