optimize '=' stripping in codec