Skip to content

Improve get performance via Function #22

@rxaviers

Description

@rxaviers

Instead of iterating over the path tree (e.g a/b/c) when getting an item, is it faster to generate a Function() of the form below and to use its result?

try {
  return Cldr._resolved[a][b][c];
} catch() {}

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