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);
Code:
0: lload_1
1: lload_3
2: ldiv
3: lreturn
`
similarly, quot of two longs yields the same code but with lrem. I think patch has no net effect on the resulting bytecode?