For a long time I wondered whether using piece count really is the best way to do the routing. There are soo many "free" features one could use that are calculated anyway (like for the histories, or the simple eval score, big pieces -- queen / rooks, castling rights etc.). Some simple combination of a couple of those should still be very cheap to calculate.
Has anyone tried something other than piece_count?
A way more interesting idea might be to try and learn those features: One could take inspiration from MoE Transformers to train them smoothly and then approximate the learned router with decision tree stumps, which can "unrolled" very efficiently for CPU