P-computers can solve spin-glass problems faster than quantum systems