11:37:06cpli^ this snippet currently creates one large case statement which sbcl nicely compiles into a lut
11:48:47pjbcpli: I use (ecase expr (#.+foo+ +foo+) …) ; in both cases, you need to wrap the the defconstant in eval-when :compile-toplevel (or compile and load them separately first).