Java 64kB limit reached XD

in #java7 years ago

There you try to include a set of names into your game and because you don't care about customized names, you just take them 1:1 and try to make an array of them. So as preparation I gathered some names: 1,455 male ones, 3,966 female ones, and 12,619 last names.

Java won't compile it :(.

I wanted to maybe reduce the size of the last name file anyways, but I wanted to increase the male and female lists a little more. It looks like I just will reduce the list to a power of 2 size which matches in there, while keeping the names I want to be in there (e.g. mine)

PS: you might call it bad design, however as stated the names are not going to change in any time, and having the compiler pack it is kind of nicer for the than on runtime. I might change it in a later version of the game. Maybe not.

If you're interested in some of the lists, just write me :)

Coin Marketplace

STEEM 0.25
TRX 0.19
JST 0.037
BTC 91726.79
ETH 3325.89
USDT 1.00
SBD 3.90