putting away HashWithIndifferentAccess
Evan Weaver
evan at cloudbur.st
Tue Sep 25 22:24:08 EDT 2007
On 9/25/07, Julian 'Julik' Tarkhanov <julian.tarkhanov at gmail.com> wrote:
> this might already be a server crasher. you know how many unique to_syms you
> can do before the table is full?
As far as I can tell, sym_tbl is just a regular st_table, so it's an
expanding array similar to the Ruby heap. So there's no danger of hard
crash. If your camping process runs for a month you should end up with
no more than 10 or 20 extra mbs of memory used in anything but a
deliberately pathological situation.
Evan
--
Evan Weaver
Cloudburst, LLC
More information about the Camping-list
mailing list