Skip to content

Instantly share code, notes, and snippets.

#
# Model
#
from spyne.decorator import rpc
from spyne.model.complex import ComplexModel
from spyne.model.complex import Array
from spyne.model.primitive import Integer
from spyne.model.primitive import String
@gmonnerat
gmonnerat / sort.c
Last active December 17, 2015 04:19
Sample of code in C to sort large folders according to last modification.
/*
Benchmark:
gabriel@localhost:~ $ ls ~/.mail/INBOX/cur | wc -l
8543
gabriel@localhost:~ $ time ./sort ~/.mail/INBOX/cur > output
real 0m0.022s
user 0m0.000s
sys 0m0.024s
*/
#include <stdio.h>