Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Oct 15, 2008

  1. Fixed some major bugs in inline_builtin.

    Preserved complete compatibility for ivar cache by looking at type.
    
    
    
    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@55 fb9c67ac-1a16-0410-bc3f-e42715d93028
    eric_mahurin authored
  2. Added a ton of new inline methods for builtin classes.

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@54 fb9c67ac-1a16-0410-bc3f-e42715d93028
    eric_mahurin authored

Oct 10, 2008

  1. Added a plugin for optimizing instance var get and set. The big benefit

    was simply caching hash_val%num_bins.  % and / (especially on ints) are
    typically slow operations.
    
    Warning: the struct for st_table_entry was copied from st.c.  This reduces
    the portability across ruby versions.
    
    
    
    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@53 fb9c67ac-1a16-0410-bc3f-e42715d93028
    eric_mahurin authored

Oct 08, 2008

  1. just spacing changes.

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@52 fb9c67ac-1a16-0410-bc3f-e42715d93028
    eric_mahurin authored

Oct 07, 2008

  1. Added new plugin: DirectSelfCall (directly calls private or same method)

    Fixed some bugs in InlineBuiltin:
    * should have used if instead of case
    * some of the call args were reversed
    
    CacheCall: Improved the accuracy of some ruby_frame fields: orig_func, last_class.
    
    bench.rb: Used bmbm instead of bm for better repeatablity.
    
    
    
    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@51 fb9c67ac-1a16-0410-bc3f-e42715d93028
    eric_mahurin authored

Oct 06, 2008

  1. Added 2 new plugins:

    * InlineBuiltin: inlines some method calls to builtin types
    * CacheCall: caches method lookup for each call (invalidates when object class changes)
    
    Added options for these in Compiler and rb2cx.
    
    
    
    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@50 fb9c67ac-1a16-0410-bc3f-e42715d93028
    eric_mahurin authored

Jun 12, 2007

  1. updated README and Changelog

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@48 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored
  2. added Ruby 1.8.5-p35, 1.8.5-p52, 1.8.6 and 1.8.6-p36 to SUPPORTED_RUB…

    …Y_VERSIONS
    
    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@47 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored
  3. small changes for 'rb2cx --help'

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@46 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored

Jun 10, 2007

  1. documentation fixes

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@45 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored

Jun 04, 2007

  1. documentation updates and new documentation

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@44 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored

Feb 18, 2007

  1. fix for newer 1.8.5 versions (and 1.8.6)

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@43 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored

Oct 14, 2006

  1. some documentation for Eval2C

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@42 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored

Sep 20, 2006

  1. workaround for issue with ALLOCA_N in while loop

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@41 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored

Sep 18, 2006

  1. implemented Eval2C#compile_methods

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@40 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored
  2. documentation updates

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@39 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored

Sep 17, 2006

  1. improved comp_rescue

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@38 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored
  2. changed/improved vmode handling

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@37 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored
  3. moved test_eval2c.rb to its own directory

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@36 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored
  4. small comment change

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@35 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored
  5. added gemspec

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@34 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored

Sep 10, 2006

  1. add header with version and time to generated C files

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@33 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored
  2. more 1.8.5 changes and some other things

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@32 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored
  3. added -V/--version option to rb2cx

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@31 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored

Sep 09, 2006

  1. improved Eval2C

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@30 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored
  2. added some method argument tests to test.rb

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@29 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored
  3. added version.rb and some changes for 1.8.5

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@28 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored
  4. added compile_to_proc example to test_eval2c.rb

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@27 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored

Aug 21, 2006

  1. added Eval2C

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@26 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored

Aug 20, 2006

  1. small change to require_include plugin

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@25 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored
  2. refactored and improved compiler.rb and bin/rb2cx

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@24 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored

Aug 19, 2006

  1. keep newline nodes to fix problem with case/when (see also [ruby-core…

    …:8662])
    
    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@23 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored
  2. new case_optimize plugin

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@22 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored

Aug 18, 2006

  1. added two benchmarks to bench.rb

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@21 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored

Aug 16, 2006

  1. new inline_methods plugin

    git-svn-id: http://ruby2cext.rubyforge.org/svn/trunk@20 fb9c67ac-1a16-0410-bc3f-e42715d93028
    dbat authored
Something went wrong with that request. Please try again.