Define specialized comparators in clj
Define specialized comparators in clj

Instead of letting a AFunction implement comparator, implement a
comparator which implements IFn, that way, the body is evaluated in the
context which lets the compiler work with primitives, never escaping
once to the heap on a call to .compare()

tonsky/datascript,tonsky/datascript,tonsky/datascript