Kurt StephensNerd Up! | ||||||||||||||||||
rubyConcrete Partial Evaluation in Ruby
http://www.computer.org/portal/web/csdl/doi/10.1109/eScience.2008.141 Abstract:
ChicagoRuby Ruby Code Tweaks slides, code and video
The slides from my ChicagoRuby 2010/5/4 presentation : http://kurtstephens.com/pub/ruby/ruby_code_tweaks/ All the raw data used to generate the graph should be referenced in the slides. The code used to generate the slides is here: http://github.com/kstephens/ruby_code_tweaks I’m looking to increase the set of code “Problems” to cover other tiny code idioms and platform issues, for example: regular expressions, numerics, etc. If you have ideas, take a look at the code and contact me. Justin Love gave a fantastic presentation on lambda and closure. Thanks to everyone who came — hope it was helpful. Video from the talk: Ruby Code Performance Tweaks by Kurt Stephens from ChicagoRuby on Vimeo. Ruby: Excellent MRI GC Slides
Excellent introduction to Ruby MRI’s GC and memory debugging: http://timetobleed.com/garbage-collection-slides-from-la-ruby-conference... Ruby: Fixnum#gcd accepted into MRI
Ruby rational.rb clean-up and the Fixnum#gcd primitive was refactored into a new MRI extension. Fixnum#gcd is now defined during require ‘rational’. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?... http://redmine.ruby-lang.org/issues/show/2561 See http://kurtstephens.com/node/34 . Emacs Flymake Ruby Mode
Adds automatic syntax checking and error highlighting to Ruby code: http://github.com/purcell/emacs.d/raw/master/site-lisp/flymake-ruby/flym... Ruby 1.8: Improved Rational performance by 15%
This should also speed up DateTime. This will not help 1.9 performance. The attached file is based on MRI 1.8.6 rational.rb.
> ruby rational_performance.rb
user system total real
test_it 32.930000 3.030000 35.960000 ( 35.971832)
test_it 33.840000 2.910000 36.750000 ( 36.758585)
test_it ks_rational 29.110000 2.460000 31.570000 ( 31.572762)
Overview:
Ruby: Caching #to_s for immutables (and a possible future for constant-folding)
Reference: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/26869 I have a proof-of-concept patch to MRI that caches It reduces the number of It requires a minor semantic change to Ruby core. This minor change could cascade into a huge performance improvement for all Ruby implementations — as will be illustrated later: #to_s may return frozen cabar - An Extensible Software Component Mangement System
Cabar – an extensible software component backplane for managing software components. http://github.com/kstephens/cabar/tree/master |
||||||||||||||||||
Recent comments
13 weeks 2 days ago
26 weeks 18 hours ago
28 weeks 4 days ago
28 weeks 5 days ago
28 weeks 5 days ago
28 weeks 5 days ago
28 weeks 5 days ago
31 weeks 1 day ago
31 weeks 1 day ago
33 weeks 4 days ago