That is pretty much guaranteed to produce a poor allocation of funds. Every case requiring public defender resources will also require district attorney resources, but not every case requiring district attorney resources will require anything from a public defender, because a lot of people have their own lawyers.