Nedelec DG element

i’m trying to use Nedelec element with a discontinuous galerkin method, i was able to do it using assemble_local, but this method is very slow, is there another way to do it? defining a new element, or building an element with Nedelec*DG(0)?