This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

only change const uint8_t, but quite some change in s19

hi guys

 i only change a const uint8 value, why quite some change in s19?

who can tell me. thank you very much..

Parents
  • Because of all the things you did with that value.  It being a const means the compiler gets to optimize quite a bit of all the code paths that number is ever involved in, which can lead to any number of changes.  It can even change the size of the code, leading to even more changes all over the place caused by address changes.

Reply
  • Because of all the things you did with that value.  It being a const means the compiler gets to optimize quite a bit of all the code paths that number is ever involved in, which can lead to any number of changes.  It can even change the size of the code, leading to even more changes all over the place caused by address changes.

Children