Reimplement _process_bucket() in XS via Inline::C