Computational issues in the simulation of two-dimensional discrete dislocation mechanics