String comparison

raml
2020-04-01
2020-04-03
  • raml - 2020-04-01

    Hi everybody,
    I have a curiosity about the string comparison. I'm using the = operator to compare strings in one of my function block. The question is: How much the performances change compare to a comparison of an integer?
    Thank you very much.
    Best regards

     
  • raml - 2020-04-03

    Hello,
    thank you very much for your answer.

    Just one more thing, do you strictly recommend to reduce the use of string comparison or because nowadays the cpu are very powerful so the time for string comparison is also negligible?

    Thank you.
    Best regards

     
  • m.prestel - 2020-04-03

    Hello,
    it is always a good idea to only do things if you need to do them ;)

    Best regards,
    Marcel

     
    • raml - 2020-04-03

      Hello,
      yeah clear.

      Thank you very much,
      Best regards

       

Log in to post a comment.