I have noticed that both work, what is the correct way to use inline here?
static inline int getAreaIndex()
OR
inline static int getAreaIndex()
Plus, getAreaIndex contains a large loop. sometimes I call it only one and sometimes I call it through a loop, should I inline it? (it's 10 line tall)