I'm using the minecraft Spigot API and you can store information in a config.yml file and retrieve it with plugin#getConfig().
I need to get a string from the config every second. The string will remain the same for about 5 minutes before changing to a new string (this update is caused by a difference process).
I am wondering whether it would be more efficient to store this string locally whenever it changes and do what I need to do with the local variable.
Would I be making a significant difference in performance by doing it this way, I'm trying to optimize my code but if it's going to be a microsecond of difference I don't think its necessary.