[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Efficiency vs. simplicity

Clint

3/16/2006 7:49:00 PM

In passing along event objects down a ui hierarchy, I can either modify the
event and pass it along, or create a new event at each level. The first case
is efficient, but introduces side effects. In the second case, there is a lot
of object creation going on. I was wondering if Ruby uses object recycling
internally? If not I guess I could roll my own, or is it really worth it?

Thanks,
Mike