J
John Carter
So you have written your ruby app.
It works.
So you throw it at a really Big Problem....and it grinds to a
halt. Too slow, too much memory.
If I find I that keep recreating an object, here is a trick that I
sometimes play...
Replace...
-------------
class BigExpensiveMadeOften
def initialize( unique_name)
# Big expensive computation
end
end
It works.
So you throw it at a really Big Problem....and it grinds to a
halt. Too slow, too much memory.
If I find I that keep recreating an object, here is a trick that I
sometimes play...
Replace...
-------------
class BigExpensiveMadeOften
def initialize( unique_name)
# Big expensive computation
end
end