Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Key map optimizations #824

Merged
merged 3 commits into from
May 8, 2012
Merged

Conversation

mikechambers
Copy link
Contributor

Refactoring of _normalizeKeyDescriptorString. Moved _isModifier definition out of _normalizeKeyDescriptorString and into scope of KeyMap require.js module.

Prior, _isModifier was defined each time _normalizeKeyDescriptorString wall called (18 time at startup). This lead to unnecessary code execution as well as garbage collection.

Added an additional argument to _isModifier, origDescriptor, which is used in a debug statement within the function.

_isModifier is now scoped to the KeyMap module, and thus will be in memory as long as the module is in memory.

Ignore the README.md commits. Git got in a weird state because i forked when brackets was private.

Note : you should resquash when you pull it.

…ition out of _normalizeKeyDescriptorString and into scope of KeyMap require.js module.

Prior, _isModifier was defined each time _normalizeKeyDescriptorString wall called (18 time at startup). This lead to unnecessary code execution as well as garbage collection.

Added an additional argument to _isModifier, origDescriptor, which is used in a debug statement within the function.

_isModifier is now scoped to the KeyMap module, and thus will be in memory as long as the module is in memory.
@jasonsanjose
Copy link
Member

Looks good, Mike. Looks like you were able to resolve the Git issues too.

jasonsanjose added a commit that referenced this pull request May 8, 2012
@jasonsanjose jasonsanjose merged commit edf35db into adobe:master May 8, 2012
gideonthomas pushed a commit to gideonthomas/brackets that referenced this pull request Aug 31, 2017
…dobe#824)

* Shifted turn server locally

* Shifted concurrently and signal-master to devDependencies

* Structured npm run start command
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants