Yes - although the only effect will be to not optimize the case where it could link instead of creating a new expression and then discovering it was identical.