Skip to content

conflicting information in docs regarding lruSize #1637

@derekaug

Description

@derekaug

On this readme, the docs say:

The lruSize property is the size of the LRU cache and is set to 0 by default which is unlimited.

but in the code / types it says:

@property {number} [lruSize] - The size of the LRU cache. If set to 0, it will not use LRU cache. Default is 0. If you are using LRU then the limit is based on Map() size 17mm.

Which seems to conflict with the other unless I have a misunderstanding of how things work.

It seems like the code docs are accurate but I could be misunderstanding the code so looking for clarification.

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