The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Make Ruby-MySQL Create Less Garbage

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Max Zone

Posts: 9170
Nickname: dzone
Registered: Jun, 2006

dzone.com is a link-sharing community where member participation determines what gets published
Make Ruby-MySQL Create Less Garbage Posted: Oct 6, 2006 9:19 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Max Zone.
Original Post: Make Ruby-MySQL Create Less Garbage
Feed Title: dzone.com: ruby
Feed URL: http://feeds.dzone.com/dzone/ruby
Feed Description: dzone.com: fresh ruby and rails links for developers
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Max Zone
Latest Posts From dzone.com: ruby

Advertisement
The Ruby Mysql bindings create a copy of the columns name string for each record retrieved from the database. This obviously leads to quadratic memory use and calls for correction. With the patch in this article the same queries run 30% faster! But more important, a lot less gargabe gets created (in the example GC runs twice as often with the unpatched bindings).

Read: Make Ruby-MySQL Create Less Garbage

Topic: Integrating PayPal payments with Ruby on Rails Previous Topic   Next Topic Topic: JAOO Presentation: Agile DSL Development in Ruby

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use