# IL Caching Strategy

**URL:** <https://www.ruby-forum.com/t/il-caching-strategy/191470>\
**Category:** IronRuby\
**Created:** [July 13, 2010, 6:40am UTC](https://www.ruby-forum.com/t/il-caching-strategy/191470 "2010-07-13T06:40:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a8b319/32.png) [@ryan](https://www.ruby-forum.com/u/ryan)\
**Post date:** [July 13, 2010, 6:40am UTC](https://www.ruby-forum.com/t/il-caching-strategy/191470/1 "2010-07-13T06:40:03Z")

</div>

I remember reading a thread on the IL caching strategy, in particular  
that a  
performance optimization was made by not being too aggressive.  
Unfortunately, I can’t find the thread. What’s the strategy now? How  
many  
times will a piece of Ruby code be interpreted before it is gen’d to IL  
and  
cached? Is that configurable? If so, how? I’m not asking for anything in  
particular, just curiosity in general.

Thanks!

Ryan R.

Email: removed\_email\_address@domain.invalid  
LinkedIn: [http://www.linkedin.com/in/ryanriley](http://www.linkedin.com/in/ryanriley)  
Twitter: @panesofglass  
Blog: [http://wizardsofsmart.net/](http://wizardsofsmart.net/)  
Website: [http://panesofglass.org/](http://panesofglass.org/)
