My Recent Pastes (891 and counting)

Pastes by headius (891 and counting)

Pages:

Below are the 15 most recent pasties by headius.

April 12, 2007
5:56AM EDT
by headius

/                  (/                 ):79702393 blocks 79702393 files
/dev               (/dev              ):79702393 blocks 79702393 files
/lib               (/lib              ): 3642306 blocks   327583 files
/platform          (/platform         ): 3642306 blocks   327583 files
/sbin              (/sbin             ): 3642306 blocks   327583 files

April 11, 2007
10:28PM EDT
by headius

Control: 100k loops accessing a local variable 100 times
  0.225000   0.000000   0.225000 (  0.212000)
  0.082000   0.000000   0.082000 (  0.082000)
  0.041000   0.000000   0.041000 (  0.041000)
  0.040000   0.000000   0.040000 (  0.040000)

April 11, 2007
10:22PM EDT
by headius

Control: 100k loops accessing a local variable 100 times
  0.139000   0.000000   0.139000 (  0.129000)
  0.031000   0.000000   0.031000 (  0.031000)
  0.021000   0.000000   0.021000 (  0.021000)
  0.018000   0.000000   0.018000 (  0.019000)

April 11, 2007
3:04PM EDT
by headius

Index: src/org/jruby/runtime/ObjectSpace.java
===================================================================
--- src/org/jruby/runtime/ObjectSpace.java      (revision 3423)
+++ src/org/jruby/runtime/ObjectSpace.java      (working copy)
@@ -100,101 +100,18 @@

April 11, 2007
2:43PM EDT
by headius

Index: src/org/jruby/runtime/ObjectSpace.java
===================================================================
--- src/org/jruby/runtime/ObjectSpace.java      (revision 3423)
+++ src/org/jruby/runtime/ObjectSpace.java      (working copy)
@@ -100,101 +100,18 @@

April 11, 2007
2:39PM EDT
by headius

Index: src/org/jruby/runtime/ObjectSpace.java
===================================================================
--- src/org/jruby/runtime/ObjectSpace.java      (revision 3423)
+++ src/org/jruby/runtime/ObjectSpace.java      (working copy)
@@ -100,101 +100,18 @@

April 11, 2007
1:40AM EDT
by headius

  # Implements flickr.photos.getRecent and flickr.photos.search
  def photos(*criteria)
    photos = (criteria[0]) ? photos_search(criteria[0]) : photos_getRecent
    photo_collection = photos['photos']['photo']

April 10, 2007
11:06PM EDT
by headius

class Foo
end

while true
  x = Foo.new

April 10, 2007
11:05PM EDT
by headius

class Foo
end
def do_foo
  x = Foo.new
  ObjectSpace::define_finalizer(x, foo_finalizer)

April 10, 2007
10:57PM EDT
by headius

class Foo
end
def foo_maker
  puts "here"
        x = Foo.new

April 07, 2007
3:09AM EDT
by headius

--test--                MRI    JRuby
app_answer              0.590   1.440
app_fib                 7.087   5.595
app_mandelbrot          2.330   10.245
app_strconcat           1.828   2.392

April 05, 2007
5:01AM EDT
by headius

~/NetBeansProjects/jruby $ time jruby -O ~/tmp/ruby1.9/benchmark/bm_so_array.rb   

real    0m25.098s
user    0m24.335s
sys     0m0.455s

April 05, 2007
4:57AM EDT
by headius

before STI expansion:

Matrix of dimension 128 times its inverse = identity? true
 15.653000   0.000000  15.653000 ( 15.653000)

April 04, 2007
2:05PM EDT
by headius

Index: src/org/jruby/internal/runtime/methods/DefaultMethod.java
===================================================================
--- src/org/jruby/internal/runtime/methods/DefaultMethod.java   (revision 3384)
+++ src/org/jruby/internal/runtime/methods/DefaultMethod.java   (working copy)
@@ -128,10 +128,10 @@

April 04, 2007
1:48PM EDT
by headius

Index: src/org/jruby/exceptions/JumpException.java
===================================================================
--- src/org/jruby/exceptions/JumpException.java (revision 3383)
+++ src/org/jruby/exceptions/JumpException.java (working copy)
@@ -96,18 +96,6 @@

Next page

Previous page