以下の3パターンってメモリとかパフォーマンスとかどう違う?
どれのほうがゲーム向き?

●1
String[] namelist={"ゴブリン","ドラキュラ",....,"サタン"};

●2
String namelist(int index) {
switch (index) {
case 0: return "ゴブリン";
case 1: return "ドラキュラ";
....
case 30: return "サタン";
default: return null;
}}

●3
String namelist(int index) {
String[] list={"ゴブリン","ドラキュラ",....,"サタン"};
return list[index];
}