The State of Sumatra
This page will reflect
- what APIs can currently be offloaded
- what java patterns in the offloaded lambda can and cannot be handled
APIs that can be Offloaded
Currenlty we handle only streams with a single operation consisting of either Stream.forEach or Stream.reduce. The Stream must always be marked as .parallel(). In addition there are the following restrictions:
Stream.forEach
- The spliterator must be either
- an IntRange starting at 0 with step 1.
- a spliterator from Arrays.stream or ArrayList.stream
Stream.reduce
- The input spliterator must be from Arrays.stream or ArrayList.stream
- The type of the array must be int
- The reduce function itself must be Int:sum, Int:max or Int:min. User written reduce functions are not supported yet.
Overview
Content Tools
ThemeBuilder