From: Kaspar Schiess Date: 2005-12-02T20:08:34+09:00 Subject: Re: building ruby for speed: wise or otherwise? (In response to news:3v329qF1337dkU1@individual.net by Robert Klemme) > Unfortunately we're close to release and I don't really have much time to > look into this deeper. If anyone else volunteers... Please Hugh, post the script or at least parts of it. I have been doing lots of database filling recently and might be able to give you a few pointers. Here's the general ones: Profiling is often no use, Benchmarking might just be enough. Roughly knowing where time goes to is a big help in guiding optimization. Be sure to try running it with a small data set, to speed up the test- change-test cycle (or whatever the cycle is called in languages that you don't compile). Maybe even profile that way. Do you have a generation stage followed by a fill stage ? Or is the computation intermingled with database accesses ? hope to be of help k -- code manufacture & ruby lab at http://www.tua.ch/ruby