Tascalate JavaFlow 2.4.0
This is a performance optimization release with API enhancements.
- Core
Stack
class was intensively revisited: expensive debug statements now are protected with the check for a debug logging level (this alone yields almost 300% of speed-up in corresponding tests); all primitive types now are handled in singlelong[]
array to save time on arrays copying (1 instead of 4) when continuation is resumed. Continuation
now may be created as mutli-shot (available previously, it was the only option) and as a single-shot. Unlike multi-shot continuations, single-shot ones may be resumed only once (i.e.Continuation.again()
is not supported), but this functionality (single-shot) is what is necessary for majority of use-cases. Being capable to resume only once, one-shot continuations have very serious performance optimizations and outperforms multi-shot continuations by the factor of 2-2.5- More well-known interfaces fro popular CDI containers are supported; Usage of continuations with JEE container was proved by an example for WildFly (see separate tascalate-javaflow-examples project)