Comment made by: alexmiller
The patch format looks better. Pulling out farther to the ticket itself, afaict Clojure will already use the right byteocode for checked or unchecked so this may not even be needed?
If I compile (without the patch):
(defn foo-div ^long [^long a ^long b]
(quot a b))
then the bytecode for that fn is:
public final long invokePrim(long, long);
similarly, quot of two longs yields the same code but with lrem. I think patch has no net effect on the resulting bytecode?