My code below is working but I am searching for performance improvement.
It consists of looping my PartList elements and check if my string parameter orginalDataStringList contains the elements on label string.
posted 1 year ago
Someone can respond my message please !!! Thank you
Generally, you don't look to improve performance without a documented reason. I.e. you have a specific, well defined requirement for how fast something needs to run. Trying to speed it up just because is pointless. Google for "premature optimization".
You want to write code that is clear, easy to understand, and maintainable. Shaving a few microseconds off now, when it'll cause you to spend an extra few weeks of debugging in a few months is not a good use of your time.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors