A few more C extension fixes that improves INT handling performance across all Ruby runtimes

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.0.9
    • Affects Version/s: 1.0.8
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      http://gist.github.com/584538

      Basically it does more work in C rather than calling back into Ruby. The '>' and '<' checks done for every INT are a huge time sink for rubinius. Converting the Ruby value to a C value and doing the comparison that way is a lot faster.

      I would like to do it for the BIGINT check too, but I couldn't get it to work.

            Assignee:
            Kyle Banker (Inactive)
            Reporter:
            Chuck Remes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: