methodmissing / callsite

Native MRI Kernel#callsite implementation ( JRuby pending )

This URL has Read+Write access

methodmissing (author)
Wed Jul 22 01:04:58 -0700 2009
commit  a8cd9e8cadccfd51c8face5832804185ff4ee497
tree    b446b353ca5bc8c71d6fb328a321bf6e66665020
parent  e4935e6b73a2901c83d59084f9aa844835f32c9c
name age message
file .gitignore Loading commit data...
file README
file Rakefile
directory bench/
directory ext/
directory test/
README
Simple native Kernel#callsite for Ruby MRI
  (c) 2009 Lourens Naudé (methodmissing)

  http://github.com/methodmissing/callsite

This library works with Ruby 1.8 ( Ruby 1.9 support is pending ).Work in progress.

Examples :

  callsite() #=> -612079380
  callsite() #=> -612079378
  callsite() #=> -612079376

To run the test suite:

  rake

To run the benchmarks:

  rake bench

Todo :

  Account for the last function arguments ( ala super )
  Optimal backtrace size