19:50:09Krystofno-defun-allowed: could be done; the easiest place to intercede, if you're interested, is probably the source transform for comparisons in src/compiler/srctran.lisp
2:32:21no-defun-allowedI tried to write a simple transform doing what I was doing manually, but it messes up...something in the compiler: https://plaster.tymoon.eu/view/1993
2:39:11pkhuongno-defun-allowed: you don't want to splice in the arguments. X and Y are bound to compiler data structures. The result of the transform is implicitly wrapped in a (lambda (x y) ...).
3:01:56no-defun-allowedOkay, I added a test checking that X has to possibly be a fixnum; now it doesn't fire on its own output, and that comparison appears a bit faster now.