Skip to content

There no support to LINQ and on load after 10M rows is very slow #16

@ednsinf

Description

@ednsinf

There no support to LINQ and on load after 10M rows is very slow please verify thanks.

internal static List<string> LoadAll()
{
    var readOptions = new ReadOptions()
    {
        VerifyCheckSums = true,
        FillCache = true 
    };
    var iterator = Instance().CreateIterator(readOptions);
    var result = new List<string>();
    iterator.SeekToFirst();   
    while (iterator.IsValid())
    {
        var key = Encoding.UTF8.GetString(iterator.Key()); 
        result.Add(key);       
        // Move to the next record
        iterator.Next();
    }
    return result;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions