ra’s avatarra’s Twitter Archive—№ 33,051

  1. compiler friends: if both branches of an if expression are known to be equal, does it make sense to skip the test and just emit the value?
    1. …in reply to @ra
      my concern is if the test side effects somehow, you'd miss those side effects