mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
This commit leverages the ahocorasick algorithm to build a set of user_ids that have their alert_words present in the message. It runs in linear time of the order of length of the input message as opposed to number of alert_words. This is after building a ahocorasick Automaton which runs in O(number of alert_words in entire realm) which is usually cached.
15 lines
566 B
Python
15 lines
566 B
Python
ZULIP_VERSION = "2.0.0+git"
|
|
LATEST_MAJOR_VERSION = "2.0"
|
|
LATEST_RELEASE_VERSION = "2.0.0"
|
|
LATEST_RELEASE_ANNOUNCEMENT = "https://blog.zulip.org/2019/03/01/zulip-2-0-released/"
|
|
|
|
# Bump the minor PROVISION_VERSION to indicate that folks should provision
|
|
# only when going from an old version of the code to a newer version. Bump
|
|
# the major version to indicate that folks should provision in both
|
|
# directions.
|
|
|
|
# Typically, adding a dependency only requires a minor version bump, and
|
|
# removing a dependency requires a major version bump.
|
|
|
|
PROVISION_VERSION = '28.6'
|