Jake Adelstein's book Tokyo Vice was an eye opener in this regard. The amount of effort the cops put into a case has a lot to do with the victim. Non-white foreigners and gangsters aren't worth a lot of trouble, e.g. if they find a dead guy with yakuza tattoos at the bottom of a building it's a suicide. Case closed.