Hi, I’d like a faster Ruby class same as Hash but in which key and value
params = InsensitiveHash.new
params[“q”] = 0.5
params[“transport”] = “TCP”
params[“Transport”] == “tcp”
It will be used extensively so I need it being very fast. I’m thinking
implementing it as a new Ruby class in C, modifying Hash class.
Do you think it’s feasible? Any suggestion?
Thanks a lot.
PD: Where is the C file defining Hash class? I read “hash.c” in Hash
but I can’t find it in Ruby libs directory.