$(function(){
  $("a").each(function(){
    var _this = $(this);
...

JavaScript Rewrite amazon URL's with J...

by jspr, October 20, 2011 00:28, 3 refactorings, tagged with speed, jquery

I use this with dotjs to re...

3ec52e31343e4baa96af6bb001465f30 Talk
function deinterleave(base4_arr)
{
	var x='',y='',rc;
...

JavaScript De-interleaving bits

by acmesquares.myopenid.com, January 01, 2011 12:08, 2 refactorings, tagged with speed, javascript, interleave, bitwise

Function takes an array of ...

1731ed1957835d6573324dba9e4774e3 Talk
;(function($) {
        $.fn.extend(
...

JavaScript filter selectbox with 3000+...

by akarzim, February 03, 2010 23:05, 2 refactorings, tagged with speed, jquery, dom, select

This is a little jQuery scr...

0018abed2b5e8b460993ed915adc0d11 Talk
function state_classes(updateall) {
    var value = display.value * 1, tempcolor;
    for (var i = 1; i <= 118; i++) {
...

JavaScript Color elements by state of ...

by Lucent, September 15, 2008 17:09, 3 refactorings, tagged with speed

Logic is cheap and DOM is e...

38daf62a7887b44454a78a37552b22e4 Talk
$.fn.textNodes = function() {
  var ret = [];
  this.each( function() {
...

JavaScript [jQuery] All descendent tex...

by jed, June 29, 2008 07:35, 11 refactorings, tagged with speed, recursive, jquery, dom

This function returns a jQu...

7b72d5a18ab92129692e97a76a153fe0 Talk
function calc_color(value, start, end, min, max) {
    var n = (value - min) / (max - min);
    var s = parseInt(start.replace("#", ""), 16);
...

JavaScript Hex color between two colors

by Lucent, March 11, 2008 08:27, 3 refactorings, tagged with speed

Watch out for edge cases, l...

38daf62a7887b44454a78a37552b22e4 Talk
#Functions [javscript]
var ms = 0;
var state = 0;
...

JavaScript Stop Watch

by richardhealy, October 27, 2007 13:31, 3 refactorings, tagged with time, clock, speed, test, javascript

I use this to test speed of...

28e65a85a625f7c0689bcf96ccf6043d Talk