My Recent Pastes (22 and counting)

Pastes by headius_ (22 and counting)

Pages:

Below are the 15 most recent pasties by headius_.

December 02, 2008
5:38PM EDT
by headius_

## MRI
                                    user     system      total        real
sorted                          0.000000   0.000000   0.000000 (  0.000177)
sorted block                    0.010000   0.000000   0.010000 (  0.007715)
reversed                        0.000000   0.000000   0.000000 (  0.000176)

November 30, 2008
3:09PM EDT
by headius_

    ALOAD 1
    ALOAD 2
    ALOAD 5
    INVOKESTATIC org/jruby/RubyFixnum.one (Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
    ALOAD 5

November 30, 2008
3:07PM EDT
by headius_

    ALOAD 0
    ICONST_0
    INVOKEVIRTUAL ruby/__dash_e__.getCallSite (I)Lorg/jruby/runtime/CallSite;
    ALOAD 1
    ALOAD 2

November 26, 2008
9:54AM EDT
by headius_

diff --git a/src/org/jruby/Ruby.java b/src/org/jruby/Ruby.java
index 298548d..99eb226 100644
--- a/src/org/jruby/Ruby.java
+++ b/src/org/jruby/Ruby.java
@@ -127,6 +127,8 @@ import org.jruby.util.collections.WeakHashSet;

November 22, 2008
4:12AM EDT
by headius_

require 'java'
require 'jruby'
require 'jvmscript'

import java.util.ArrayList

November 21, 2008
8:26PM EDT
by headius_

Compiled from dash_e
public class dash_e extends java.lang.Object{
public static void main(java.lang.String[]);
  Code:
   0:        getstatic        #14; //Field java/lang/System.out:Ljava/io/PrintStream;

November 17, 2008
11:58AM EDT
by headius_

◆ ruby1.9 -e "def foo(a, (b, (c, (d, *e), *f), *g), h, i = 3, *j); p a,b,c,d,e,f,g,h,i,j; end; foo(1, [2, [3, [4, 5, 6], 7, 8], 9, 10], 11)"
1
2
3
4

November 11, 2008
12:37AM EDT
by headius_

          public static method "foo", this, string do
            new this
            dup
            aload 0
            new ArrayList

October 31, 2008
12:25AM EDT
by headius_

diff --git a/src/org/jruby/javasupport/JavaUtil.java b/src/org/jruby/javasupport/JavaUtil.java
index 9e6ef6b..a60717a 100644
--- a/src/org/jruby/javasupport/JavaUtil.java
+++ b/src/org/jruby/javasupport/JavaUtil.java
@@ -874,7 +874,10 @@ public class JavaUtil {

October 30, 2008
9:39PM EDT
by headius_

## jruby compiler
                                              user     system      total        real
100k * 100 nested const get               0.149000   0.000000   0.149000 (  0.148760)
100k * 100 nested const get               0.149000   0.000000   0.149000 (  0.149169)
100k * 100 nested const get               0.148000   0.000000   0.148000 (  0.147474)

October 30, 2008
7:37PM EDT
by headius_

    GETSTATIC InterfaceImpl505063704.rubyClass : Lorg/jruby/RubyClass;
    MONITORENTER
    GETSTATIC InterfaceImpl505063704.go : Lorg/jruby/internal/runtime/methods/DynamicMethod;
    DUP
    IFNONNULL L0

October 30, 2008
5:36PM EDT
by headius_

diff --git a/src/org/jruby/java/MiniJava.java b/src/org/jruby/java/MiniJava.java
index 15c43ab..8d65b21 100644
--- a/src/org/jruby/java/MiniJava.java
+++ b/src/org/jruby/java/MiniJava.java
@@ -424,10 +424,12 @@ public class MiniJava implements Library {

October 30, 2008
4:22PM EDT
by headius_

file                                                ruby       jruby         rbx  difference
--------------------------------------------------------------------------------------------
bohnsack/bm_app_factorial.rb                      7.9123      6.6182     12.8062     -1.6185
bohnsack/bm_so_sieve.rb                           0.9583      2.1301    240.1997   -250.6619
borasky/bm_MatrixBenchmark.rb                    23.0714     13.9890      Failed         n/a

October 28, 2008
10:16PM EDT
by headius_

diff --git a/src/org/jruby/ast/ConstNode.java b/src/org/jruby/ast/ConstNode.java
index 5047abf..2c5acb6 100644
--- a/src/org/jruby/ast/ConstNode.java
+++ b/src/org/jruby/ast/ConstNode.java
@@ -88,7 +88,8 @@ public class ConstNode extends Node implements INameNode {

March 28, 2008
4:57AM EDT
by headius_

diff --git a/src/org/jruby/util/io/ChannelStream.java b/src/org/jruby/util/io/ChannelStream.java
index 8d7ce20..dc448a4 100644
--- a/src/org/jruby/util/io/ChannelStream.java
+++ b/src/org/jruby/util/io/ChannelStream.java
@@ -50,7 +50,6 @@ import java.nio.channels.Channel;

Next page