Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 828f14556e0d
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: 646ac18d7933
Choose a head ref
  • 1 commit
  • 6 files changed
  • 1 contributor

Commits on Jan 9, 2014

  1. node: AsyncListener use separate storage mechanism

    Before when an AsyncListener object was created and the "create"
    callback returned a value, it was necessary to construct a new Object
    with the same callbacks but add a place for the new storage value.
    
    Now, instead, a separate storage array is kept on the context which is
    used for any return value of the "create" callback. This significantly
    reduces the number of Objects that need to be created.
    
    Also added a flags property to the context to quickly check if a
    specific callback was available either on the context or on the
    AsyncListener instance itself.
    
    Few other minor changes for readability that were difficult to separate
    into their own commit.
    
    This has not been optimized yet.
    trevnorris committed Jan 9, 2014
    Copy the full SHA
    646ac18 View commit details
    Browse the repository at this point in the history