incubator-lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marvin Humphrey (JIRA)" <>
Subject [jira] Updated: (LUCY-64) DirHandle
Date Thu, 29 Oct 2009 12:29:59 GMT


Marvin Humphrey updated LUCY-64:

    Attachment: DirHandle.c

There are many cases where it is necessary to iterate over the entries within
the index directory or a segment subdirectory.  Building up an entire array of
string entry names is wasteful if you're just going to iterate over the
array later.  Since common operating systems provide a directory iterator
interface, we can wrap that, continuously updating a single entry rather than
cloning it with each iteration.

DirHandle is the abstract base class for such directory iterators.

> DirHandle
> ---------
>                 Key: LUCY-64
>                 URL:
>             Project: Lucy
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>            Priority: Blocker
>         Attachments: DirHandle.bp, DirHandle.c
> Iterate over the entries in a directory.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message