Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Conversation

@yanCode
Copy link

@yanCode yanCode commented Feb 20, 2018

by upgrading xregexp to latest version (presently 4.0.0), the overall performance can be remarkably enhanced. e.g., giving content var content = 'This #text contains a number of #useful hashtags';,
the time of finding hashtags in old version (v2.0.0) takes 26.679ms in my local env, while it takes only 0.867ms after the version upgrading (v4.0.0). this makes a huge performance enhancement in my script in which I need to pluck out hashtags from 1,000,000,000 records.

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.

1 participant