Optimizing Ruby

R

Randy Lawrence

Anyone know of a Ruby book with a chapter devoted to optizing Ruby? Or
a good article online? Or an organized collection of tips?

A recent thread of suggestions for improving Ruby performance
illustrated to me that there are many ways to optimize.

Thanks.
 
R

Robert Klemme

Randy Lawrence said:
Anyone know of a Ruby book with a chapter devoted to optizing Ruby? Or
a good article online? Or an organized collection of tips?

A recent thread of suggestions for improving Ruby performance
illustrated to me that there are many ways to optimize.

I don't know such thing, but there's the general advice to minimize object
creation. That has typically some overhead (memory allocation, garbage
collector registration etc.). Apart from that general performance advices
apply to Ruby the same way as to other languages (i.e. appropriate
algorithms etc.)

Kind regards

robert
 
S

Szymon Drejewicz

In "Ruby Developer's Guide" published by Syngress you will find a
chapter "Profiling and Performance Tuning" (about 50 pages).

Szymon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,149
Messages
2,570,843
Members
47,390
Latest member
RobertMart

Latest Threads

Top