Skip to content

Conversation

bounceme
Copy link
Collaborator

No description provided.

@bounceme
Copy link
Collaborator Author

Testing with https://github.com/sanctuary-js/sanctuary-def/blob/master/index.js

before: ~11s
after: 3.86s

@bounceme bounceme merged commit 0b6aad4 into develop Sep 11, 2016
@bounceme bounceme deleted the bounceme-patch-1 branch September 11, 2016 20:43
@amadeus
Copy link
Collaborator

amadeus commented Sep 12, 2016

This is pretty huge if it doesn't introduce any side effects!

@bounceme
Copy link
Collaborator Author

Definitely happy about this! also it is 100% accurate ( or could be if there is something i've missed ). It is only used for

let num = s:GetPair(pattern[0],pattern[1],'bW','s:skip_func(s:looksyn)',2000)
else
let num = s:GetPair('[({[]','[])}]','bW','s:skip_func(s:looksyn)',2000)
since that is the major bottleneck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants