java - Libgdx Memory size for variable type -


once read answer on internet (could in stack overflow well, can't remember) showing memory usage each variable type in libgdx , such int, float, boolean, , etc. however, can't find anymore. can please point me right direction?

in additional, suggested on internet memory usage should kept minimal android apps, there way can use small int or tiny int (instead of of using int) since variable small?

to calculate size of object can have @ in java, best way determine size of object?.

if not need whole int (32 bit) can use short (16 bit) or byte (8 bit).


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -