Performance improvements. Change each_attr and each_subel to be class-level methods and cache their result properly.
Performance improvements. Change each_attr and each_subel to be class-level methods and cache their result properly.

pedrocr/xmlcodec