When a machinist apprentice near 40years ago and EDM was in its infancy, while crazy tight tolerance was possible, surface finish relative to what we see in gun barrels surface finish & smoothness was not even close !!!
Electronic arc between an electrode and the barrel being the anode leaves a microscopic crater type finish as the process happens from what my memory remembers seeing electron microscope pics of an EDM eroded surface on 17-4 stainless , Nirtonic-50 stainless & 304L stainless and similar high strength steels.
Times may have change in the tech ? ... just sharing past experience FWIW