In a comment here:
https://racket.discourse.group/t/scramble-regexp-question/3319/10
I note that the bit-manipulation routines in irregex are written in terms of general arithmetic operations and are likely much slower than a native implementation might be.
I haven't gone through the irregex source to see how these routines are used, but I have a question: Might replacing these routines with native versions speed irregex noticeably? I'm asking because irregex has been shipped with Gambit for a while.