Computation of étale cohomology on curves with constructible coefficients