Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Optimize lex() #27

Closed
wants to merge 7 commits into from
Closed

Optimize lex() #27

wants to merge 7 commits into from

Commits on Feb 3, 2013

  1. Replace charAt with square bracket character access. See #23.

    Kit Cambridge committed Feb 3, 2013
    Configuration menu
    Copy the full SHA
    0a77cfd View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2013

  1. 1 Configuration menu
    Copy the full SHA
    af6d5b7 View commit details
    Browse the repository at this point in the history
  2. Add a post-build step to ensure that the define pragma is not munged.

    Closes #22.
    Kit Cambridge committed Mar 22, 2013
    Configuration menu
    Copy the full SHA
    58e5c37 View commit details
    Browse the repository at this point in the history
  3. Update contributors. See #25.

    Kit Cambridge committed Mar 22, 2013
    Configuration menu
    Copy the full SHA
    a2bf362 View commit details
    Browse the repository at this point in the history
  4. Alias stringify and parse in the has function. Closes #25.

    Kit Cambridge committed Mar 22, 2013
    Configuration menu
    Copy the full SHA
    9565ce0 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2013

  1. Optimize token type branching in lex()

    before x 70,844 ops/sec ±0.68% (99 runs sampled)
    after x 108,854 ops/sec ±0.50% (93 runs sampled)
    oxyc committed Mar 23, 2013
    Configuration menu
    Copy the full SHA
    dabbd93 View commit details
    Browse the repository at this point in the history
  2. Optimize for the common case where a string is valid

    before x 108,854 ops/sec ±0.50% (93 runs sampled)
    after x 129,460 ops/sec ±0.42% (101 runs sampled)
    oxyc committed Mar 23, 2013
    Configuration menu
    Copy the full SHA
    65d583c View commit details
    Browse the repository at this point in the history