Efficiency vs. simplicity

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs