I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
user avatar
str4d authored
Enums often require more than twice as much memory as static constants, and
should be strictly avoided on Android.
https://developer.android.com/training/articles/memory.html#Overhead

The advantage of this change is that client library users can directly compare
the status values they get from IRouterState to the constants, instead of
parsing a string representation of an Enum.
2a142705
History
Name Last commit Last update