Mercurial > hg
annotate contrib/packaging/requirements-windows.txt.in @ 52284:f4aede0f01af
rust-manifest: use `memchr` crate for all byte-finding needs
While writing a very dumb manifest diffing algorithm for a proof-of-concept
I saw that `Manifest::find_by_path` was much slower than I was expecting.
It turns out that the Rust stdlib uses slow (all is relative) code when
searching for byte positions for reasons ranging from portability, SIMD
API stability, nobody doing the work, etc. `memch` is much faster for these
purposes, so let's use it.
I was measuring ~670ms of profile time in `find_by_path`, after this patch
it went down to ~230ms.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 12 Nov 2024 23:20:04 +0100 |
parents | 4092db99541a |
children |
rev | line source |
---|---|
49606
4092db99541a
packaging: refresh dependency hashes (issue6750)
Jason R. Coombs <jaraco@jaraco.com>
parents:
48849
diff
changeset
|
1 # Declare Windows-specific requirements for generating |
4092db99541a
packaging: refresh dependency hashes (issue6750)
Jason R. Coombs <jaraco@jaraco.com>
parents:
48849
diff
changeset
|
2 # the compiled (frozen) set of requirements in |
4092db99541a
packaging: refresh dependency hashes (issue6750)
Jason R. Coombs <jaraco@jaraco.com>
parents:
48849
diff
changeset
|
3 # ./requirements-windows-py3.txt. |
4092db99541a
packaging: refresh dependency hashes (issue6750)
Jason R. Coombs <jaraco@jaraco.com>
parents:
48849
diff
changeset
|
4 # If run on Windows, it may be necessary to run dos2unix |
4092db99541a
packaging: refresh dependency hashes (issue6750)
Jason R. Coombs <jaraco@jaraco.com>
parents:
48849
diff
changeset
|
5 # on the output file to replace any CRLF newlines with LF. |
4092db99541a
packaging: refresh dependency hashes (issue6750)
Jason R. Coombs <jaraco@jaraco.com>
parents:
48849
diff
changeset
|
6 |
43660
303bf312d5ed
packaging: convert to UNIX line endings
Gregory Szorc <gregory.szorc@gmail.com>
parents:
41924
diff
changeset
|
7 docutils |
48849
ec6a4021beb1
packaging: remove requirements constraints to support Python 2
Gregory Szorc <gregory.szorc@gmail.com>
parents:
47849
diff
changeset
|
8 dulwich |
47846
72c3b47d1557
pyoxidized: install fuzzywuzzy too
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
46318
diff
changeset
|
9 |
72c3b47d1557
pyoxidized: install fuzzywuzzy too
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
46318
diff
changeset
|
10 # Needed by the release note tooling |
72c3b47d1557
pyoxidized: install fuzzywuzzy too
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
46318
diff
changeset
|
11 fuzzywuzzy |
72c3b47d1557
pyoxidized: install fuzzywuzzy too
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
46318
diff
changeset
|
12 |
44223
481caa4a2244
packaging: bundle dulwich, keyring, and pywin32-ctypes with WiX too
Matt Harbison <matt_harbison@yahoo.com>
parents:
43660
diff
changeset
|
13 keyring |
48849
ec6a4021beb1
packaging: remove requirements constraints to support Python 2
Gregory Szorc <gregory.szorc@gmail.com>
parents:
47849
diff
changeset
|
14 pygit2 |
43660
303bf312d5ed
packaging: convert to UNIX line endings
Gregory Szorc <gregory.szorc@gmail.com>
parents:
41924
diff
changeset
|
15 pygments |
47849
f07a00543396
windows: add pytest-vcr to the dependencies
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
47846
diff
changeset
|
16 |
f07a00543396
windows: add pytest-vcr to the dependencies
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
47846
diff
changeset
|
17 # Needed by the phabricator tests |
f07a00543396
windows: add pytest-vcr to the dependencies
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
47846
diff
changeset
|
18 pytest-vcr |
f07a00543396
windows: add pytest-vcr to the dependencies
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
47846
diff
changeset
|
19 |
44223
481caa4a2244
packaging: bundle dulwich, keyring, and pywin32-ctypes with WiX too
Matt Harbison <matt_harbison@yahoo.com>
parents:
43660
diff
changeset
|
20 # Need to list explicitly so dependency gets pulled in when |
481caa4a2244
packaging: bundle dulwich, keyring, and pywin32-ctypes with WiX too
Matt Harbison <matt_harbison@yahoo.com>
parents:
43660
diff
changeset
|
21 # not running on Windows. |
481caa4a2244
packaging: bundle dulwich, keyring, and pywin32-ctypes with WiX too
Matt Harbison <matt_harbison@yahoo.com>
parents:
43660
diff
changeset
|
22 pywin32-ctypes |
46318
e74274fc1b35
packaging: include `windows-curses` on Windows
Matt Harbison <matt_harbison@yahoo.com>
parents:
45982
diff
changeset
|
23 windows-curses |