Skip to content

Instantly share code, notes, and snippets.

rinunu rinunu

Block or report user

Report or block rinunu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View error.html
<!doctype html>
<html lang="en">
<body>
<script>
setInterval(function () {
var obj1 = {prop1: 0.1};
for (var i = 0; i < 10000; i++) {
View gist:95ef9633bb34c4832b04
package sample;
import scala.Predef.;
import scala.collection.Seq;
import scala.collection.Seq.;
import scala.reflect.ScalaSignature;
@ScalaSignature(bytes="\006\001]1A!\001\002\001\013\t\031A+\0349\013\003\r\taa]1na2,7\001A\n\003\001\031\001\"a\002\006\016\003!Q\021!C\001\006g\016\fG.Y\005\003\027!\021a!\0218z%\0264\007\"B\007\001\t\003q\021A\002\037j]&$h\bF\001\020!\t\001\002!D\001\003\021\025\021\002\001\"\001\024\003\r\021\027M\035\013\002)A\021q!F\005\003-!\021A!\0268ji\002")
public class Tmp
{
@rinunu
rinunu / gist:1131708
Created Aug 8, 2011
Android の Bitmap と OutOfMemory
View gist:1131708
package nu.rinu;
import java.lang.ref.SoftReference;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.app.Activity;
import android.graphics.Bitmap;
@rinunu
rinunu / gist:1046532
Created Jun 25, 2011
Android Bitmap and OutOfMemoryError
View gist:1046532
package nu.rinu;
import java.lang.ref.Reference;
import java.lang.ref.ReferenceQueue;
import java.lang.ref.SoftReference;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
View array push 速度計測.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript">
var tests = {};
tests.push = function(){
var array = [];
You can’t perform that action at this time.