I\'m trying to use the structure for centralizing my hardware configuration. However, this makes my codes slow later while the struct has been defined as a global variable i