Skip to content

Instantly share code, notes, and snippets.


Dwayne Bailey dwaynebailey

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dwaynebailey on github.
  • I am dwaynebailey ( on keybase.
  • I have a public key ASBvs5t6QBWdk-r59T6OaB2x1DsXodHshqwpq8Ewv_5LSwo

To claim this, I am signing this object:

dwaynebailey /
Created Feb 4, 2015
Speed testing SUBSTRING_INDEX replacements
from pootle_store.models import Store
from pootle_app.models import Directory
from django.db import connection
import timeit
import os
project = "firefox"
def get_path_sortkey(path):