Skip to content

LazyIO - network and local file reader/writer compatible with go-streams. #10

@BigB84

Description

@BigB84

Hi!

With Java 8+ it's possible to read file using streams instead of using loop.
This is so cool, as file isn't read entirely to memory.

Now I'm facing this issue with go.
I need to read hundreds of text files with millions of records and process them.

Thus I need reader and writer that will be compatible with this library.
I tried to do so but it's hard considering implementing generic interface IIterator

The strength of java in this case is the fact that streams became standard.

Do you think it's possible to include such io.reader or bufio.scanner to this library?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions