Categories: None [Edit]
    event_hook
Wraps rb_add_event_hook so you can write fast ruby event hook
processors w/o the speed penalty that comes with set_trace_func (sooo
sloooow!). Calls back into ruby so you don't have to write C.
    % ruby demo.rb 
    # of iterations = 1000000
                              user     system      total        real
    null_time             0.120000   0.000000   0.120000 (  0.125279)
    ruby time             0.560000   0.000000   0.560000 (  0.562834)
    event hook            3.160000   0.010000   3.170000 (  3.175361)
    set_trace_func       34.530000   0.100000  34.630000 ( 34.942785)
    Total
Ranking: 56,824 of 187,548
          Downloads: 18,488
        Daily
Ranking: 33,889 of 187,532
          Downloads: 13
        Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name | 
|---|---|---|
| 47,852 | 23,353 | zenprofile | 
| 118,004 | 5,761 | crystalizer | 
Depends on
| Rank | Downloads | Name | 
|---|---|---|
| 15 | 1,088,565,104 | minitest | 
| 183 | 247,752,095 | rdoc | 
| 2,298 | 8,984,238 | hoe | 
| 2,360 | 8,457,722 | RubyInline | 
Owners
| # | Gravatar | Handle | 
|---|---|---|
| 1 | zenspider | 
 xmisao
xmisao