Re: [EXT] Workaround for large enum throwing MethodTooLargeException ?

2023-02-27 Thread MG
Hi Eric, thank you for your suggestions, we will check these out... Below is the source code for a trivial enum with one int property and 1100 entries which reproduces the error. The disassembly of the static ctor (for the case with 1000 entries which still compiles) looks as trivial to me:

Re: [EXT] Workaround for large enum throwing MethodTooLargeException ?

2023-02-27 Thread MG
The enum approach plays well with other (much smaller) enums, gives us version control, compile time checks & type safe access inside of Groovy, Groovy logic (e.g. fallback values), Intellisense, and makes the data easily editable inside IntelliJ (including commenting), so it imho handily beats