# Localmemcache-0.4.3: Improving Iteration Speed & Bugfixes

**URL:** <https://www.ruby-forum.com/t/localmemcache-0-4-3-improving-iteration-speed-bugfixes/176604>\
**Category:** Ruby\
**Created:** [October 2, 2009, 11:44pm UTC](https://www.ruby-forum.com/t/localmemcache-0-4-3-improving-iteration-speed-bugfixes/176604 "2009-10-02T23:44:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sven\_CSKoehler](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3be4f8/32.png) [@Sven\_CSKoehler](https://www.ruby-forum.com/u/Sven_CSKoehler)\
**Post date:** [October 2, 2009, 11:44pm UTC](https://www.ruby-forum.com/t/localmemcache-0-4-3-improving-iteration-speed-bugfixes/176604/1 "2009-10-02T23:44:00Z")

</div>

Localmemcache 0.4.3 brings the following improvements

Fixes/bugs reported by Paul Mineiro (thanks!):

- iteration speedup: each\_pair is now a lot faster when dealing with a  
large  
dictionary. Eg: For 400k elements it’s now about 14 times faster.
- fix for leak in local\_memcache\_free()
- C API: Some C API functions were not yet covered by tests. This has  
been  
fixed.

Other fixes:

- autorepair fixed: Autorepair of namespaces did sometimes wrongly  
report  
corrupt namespaces.
- :min\_alloc\_size now also works on Ruby 1.9.

# INSTALL

# gem install localmemcache

# CONTACT

Please contact me with bugs, suggestions and patches at: schween + snafu

# de

# LINKS

Localmemcache: [http://localmemcache.rubyforge.org/](http://localmemcache.rubyforge.org/)  
Rubyforge project: [http://localmemcache.rubyforge.org/](http://localmemcache.rubyforge.org/)

Source code is hosted on github: [GitHub - sck/localmemcache: mmap -\> lmc\_valloc -\> hashtable. BAM database](http://github.com/sck/localmemcache/)

Best,

Sven

9b42b336cd6db0fbb0a3f38dc293e230 localmemcache-0.4.3.gem  
d76c9c3ad683cbca0cd273d63234e734 localmemcache-0.4.3.tar.gz
