sort method for deque
add a level of undirection to unref comparator function passed to Set
fix valgrind warnings
bugfix: clean stack after calling lua_compare
some benchmarks