Skip to content

Instantly share code, notes, and snippets.

View dagss's full-sized avatar

Dag Sverre Seljebotn dagss

  • mCASH AS and University of Oslo
  • Oslo
View GitHub Profile
@dagss
dagss / gist:2862255
Created June 3, 2012 06:38 — forked from anonymous/gist:2862091
simulated hash vtable call
cdef extern from *:
void* malloc(long)
void free(void*)
double sin(double)
from random import randint
from time import clock
cdef extern from "time.h":
cdef struct timespec: