foam-framework / foam-framework/foam
Optimize STARTS_WITH and CONTAINS mLangs.
Open
enhancement
imported
- Dominant language
- JavaScript
- Stars
- 783
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
_From [k...@chromium.org](https://code.google.com/u/101260952816761938100/) on February 19, 2014 09:40:20_
CONTAINS_IC is already optimized to use a regex instead of indexOf, and runs about twice as fast because of it.
Use the same technique for STARTS_WITH and CONTAINS as well.
_Original issue: http://code.google.com/p/foam-framework/issues/detail?id=200_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.