Skip to content

Use Static Instances #103

Description

@belugabehr

JniDB.java

return get(key, new ReadOptions());
write(updates, new WriteOptions());

Since these option objects are used in an immutable way, just create a single instance of both instead of instantiating each call.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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