<commit_before># TCOMethod
[![Gem Version](https://badge.fury.io/rb/tco_method.svg)](http://badge.fury.io/rb/tco_method)
[![Yard Docs](http://img.shields.io/badge/yard-docs-blue.svg)](http://www.rubydoc.info/gems/tco_method)
[![Build Status](https://travis-ci.org/tdg5/tco_method.svg)](https://travis-ci.org/tdg5/tco_method)
[![Coverage Status](https://coveralls.io/repos/tdg5/tco_method/badge.svg)](https://coveralls.io/r/tdg5/tco_method)
[![Code Climate](https://codeclimate.com/github/tdg5/tco_method/badges/gpa.svg)](https://codeclimate.com/github/tdg5/tco_method)
[![Dependency Status](https://gemnasium.com/tdg5/tco_method.svg)](https://gemnasium.com/tdg5/tco_method)

The `tco_method` gem provides a number of different APIs to facilitate
evaluating code with tail call optimization enabled in MRI Ruby.

The `TCOMethod.with_tco` method is perhaps the simplest means of evaluating code
with tail call optimization enabled. `TCOMethod.with_tco` takes a block and
compiles all code **in that block** with tail call optimization enabled.

The `TCOMethod::Mixin` module extends Classes and Modules with helper methods
(kind of like method annotations) to facilitate compiling some types of methods
with tail call optimization enabled.
<commit_msg>Switch travis badge to master branch<commit_after># TCOMethod
[![Gem Version](https://badge.fury.io/rb/tco_method.svg)](http://badge.fury.io/rb/tco_method)
[![Yard Docs](http://img.shields.io/badge/yard-docs-blue.svg)](http://www.rubydoc.info/gems/tco_method)
[![Build Status](https://travis-ci.org/tdg5/tco_method.svg?branch=master)](https://travis-ci.org/tdg5/tco_method)
[![Coverage Status](https://coveralls.io/repos/tdg5/tco_method/badge.svg)](https://coveralls.io/r/tdg5/tco_method)
[![Code Climate](https://codeclimate.com/github/tdg5/tco_method/badges/gpa.svg)](https://codeclimate.com/github/tdg5/tco_method)
[![Dependency Status](https://gemnasium.com/tdg5/tco_method.svg)](https://gemnasium.com/tdg5/tco_method)

The `tco_method` gem provides a number of different APIs to facilitate
evaluating code with tail call optimization enabled in MRI Ruby.

The `TCOMethod.with_tco` method is perhaps the simplest means of evaluating code
with tail call optimization enabled. `TCOMethod.with_tco` takes a block and
compiles all code **in that block** with tail call optimization enabled.

The `TCOMethod::Mixin` module extends Classes and Modules with helper methods
(kind of like method annotations) to facilitate compiling some types of methods
with tail call optimization enabled.

{'fraction_non_alphanumeric': 0.13716988569176192, 'fraction_numerical': 0.0063066614111154905, 'mean_word_length': 5.786096256684492, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 18, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6104155', 'n_tokens_mistral': 886, 'n_tokens_neox': 854, 'n_words': 193}