> This makes me wonder if it is worth introducing a compiler flag > that would omit assert statements from the compiled bytecode > for this scenario.
Hi Andrew, Maybe the first one of this FAQ could answer your question: https://docs.oracle.com/javase/8/docs/technotes/guides/language/assert.html#design-faq-enable-disable - Daohan