in v3, it doesn't matter.   And, in v3, the temporary fs gets garbage-collected,
too.
-M

On 4/1/2019 10:18 AM, Richard Eckart de Castilho wrote:
> On 1. Apr 2019, at 15:46, Marshall Schor <[email protected]> wrote:
>> The way this works, with the default, is as follows:
>>      a) imagine a bunch of annotations A1, A2, ... An, all in the annotation 
>> index
>>      b) imagine the bounding annotation is A2
>>      c) make a copy of A2, but don't add it to the index.  Call it A2copy. 
>>
>> Now, when you iterate, use A2copy as the "bounding annotation.  The test 
>> which
>> says to skip if the Annotation is "identical" (meaning, has the same internal
>> Feature Structure ID) to the bounding Annotation  won't ever be true, because
>> the bounding Annotation has a unique ID, and isn't in the index.
>>
>> Does that make sense? 
> Yes. Basically "create a temporary annotation (not added to the index) and us
> it to scope the select. 
>
> Is it better to create a temporary annotation or to scope by offsets -- or 
> does
> it not matter? In v2, scoping by offsets was typically slower.
>
> -- Richard
>
>

Reply via email to