Hi, I'd like a faster Ruby class same as Hash but in which key and value are 
insensitive, so:

----------------------------------
  params = InsensitiveHash.new
  params["q"] = 0.5
  params["transport"] = "TCP"

  params["Q"]
  => 0.5

  params["Transport"] == "tcp"
  => true
----------------------------------

It will be used extensively so I need it being very fast. I'm thinking in 
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 
documentation:
  http://www.ruby-doc.org/core/classes/Hash.html
but I can't find it in Ruby libs directory.


-- 
IƱaki Baz Castillo