[ 
https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15509937#comment-15509937
 ] 

Marshall Schor commented on UIMA-5115:
--------------------------------------

in v3, I think of implementing offsets (begin/end) via making a "throw-away" 
Annotation with these begin/end values, and using that.

There's an insignificant penalty for that in V3 since the temporary FS is 
allocated on the stack, not even in the heap (see "escape analysis" in 
http://docs.oracle.com/javase/7/docs/technotes/guides/vm/performance-enhancements-7.html),
 and effectively GC'd right away.

> uv3 select() api for iterators and streams over CAS contents
> ------------------------------------------------------------
>
>                 Key: UIMA-5115
>                 URL: https://issues.apache.org/jira/browse/UIMA-5115
>             Project: UIMA
>          Issue Type: New Feature
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Priority: Minor
>             Fix For: 3.0.0SDKexp
>
>
> Design and implement a select() API based on uimaFIT's select, integrated 
> well with Java 8 concepts.  Initial discussions in UIMA-1524.  Wiki with 
> diagram: https://cwiki.apache.org/confluence/display/UIMA/UV3+Iterator+support



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to