performance improvements

- ruby gc options
- fix gem specification to_ary invokations