Efficient implementation of characteristic-based schemes on unstructured triangular grids