Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Reference toJSON and evalJSON directly to the native API if available #49

@Krinkle

Description

@Krinkle

From krinklemail on September 13, 2011 00:45:22

What is the problem?

Calling $.toJSON, $.evalJSON or $.secureEvalJSON currently evaluates the typeof JSON and availability of JSON.* on every call. This can be optimized by referencing them directly.

See patch.

Attachment: jquery-json-performance-reference.patch

Original issue: http://code.google.com/p/jquery-json/issues/detail?id=49

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions