@ngn i’ll play around with it more but i think it may be more nuanced than my original examples. like x_dict is still "remove keys in x from dict", except when x is a single integer, when it’s "drop first x items". dict_x removes the item with key x, provided x is an atom (thereby handling the gap in x_dict). I don’t think dict_list is generally supported
@Traws hm, actually my find seems to be well-optimised.. i suspect j has a special case for "small-domain" find (i know roger loves this kind of optimisation)
tbh, i'm a bit surprised k7 (probably) uses this optimization too. in general k relies much less on special-casing, but maybe in this case it was worth it.
both j and k7 have the advantage of not having to deal with 0N-s which take up 64 bits
interesting.. nice to see it can be brought down to the same performance level of k7 with the manual trick yeah j has plenty of those "special code" patterns