Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stdlib] Fix String.split() implementations #3528

Draft
wants to merge 115 commits into
base: nightly
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
e971d52
fix string split()
martinvuyk Sep 22, 2024
f717b0a
fix string split(separator)
martinvuyk Sep 22, 2024
c8ac4df
fix string split(separator)
martinvuyk Sep 22, 2024
51ab01a
retry github CI
martinvuyk Sep 22, 2024
d11f381
Apply suggestions from code review
martinvuyk Sep 23, 2024
40ff065
retry github CI
martinvuyk Sep 23, 2024
6401227
Merge branch 'nightly' into fix-split-implementations
martinvuyk Sep 23, 2024
43c6fea
add suggestions from @JoeLoser
martinvuyk Sep 23, 2024
eb4c50a
add testcase suggested by @msaelices
martinvuyk Sep 23, 2024
94a68f2
retry github CI
martinvuyk Sep 23, 2024
8a23eee
Merge branch 'nightly' into fix-split-implementations
martinvuyk Sep 24, 2024
3373dad
retry github CI
martinvuyk Sep 24, 2024
62511da
Merge branch 'fix-split-implementations' of github.com:martinvuyk/moj…
martinvuyk Sep 24, 2024
4f80a08
Merge branch 'nightly' into fix-split-implementations
martinvuyk Sep 25, 2024
8865894
Merge branch 'nightly' into fix-split-implementations
martinvuyk Sep 26, 2024
2c9119e
Merge branch 'nightly' into fix-split-implementations
martinvuyk Sep 29, 2024
7a62da4
Merge branch 'nightly' into fix-split-implementations
martinvuyk Sep 30, 2024
25f61c4
Merge branch 'nightly' into fix-split-implementations
martinvuyk Oct 1, 2024
718a471
Merge branch 'nightly' into fix-split-implementations
martinvuyk Oct 1, 2024
b977841
refactor a bit
martinvuyk Oct 1, 2024
5229c17
fix detail
martinvuyk Oct 1, 2024
1550667
fix detail
martinvuyk Oct 1, 2024
a4fdf46
aggressive optimizations
martinvuyk Oct 2, 2024
4c753ce
fix detail
martinvuyk Oct 2, 2024
b752e85
some more branch reduction
martinvuyk Oct 2, 2024
1bd7568
fix detail
martinvuyk Oct 2, 2024
e6dfd38
fix detail
martinvuyk Oct 2, 2024
dd0ac67
fix detail
martinvuyk Oct 2, 2024
be62c8f
refactor StringSlice constructor
martinvuyk Oct 2, 2024
cba8a6b
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Oct 2, 2024
6240387
refactor StringSlice constructor
martinvuyk Oct 2, 2024
2956b90
maybe some more overhead
martinvuyk Oct 2, 2024
b27da93
refactor output
martinvuyk Oct 3, 2024
1dca960
Merge branch 'nightly' into fix-split-implementations
martinvuyk Oct 6, 2024
0cada62
fix check_licences.mojo reference
martinvuyk Oct 13, 2024
e38a462
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Oct 13, 2024
4deca4d
refactor split implementations
martinvuyk Oct 13, 2024
026544a
fix detail
martinvuyk Oct 13, 2024
22544db
fix detail
martinvuyk Oct 13, 2024
e28de55
fix detail
martinvuyk Oct 13, 2024
4d49ee8
fix detail
martinvuyk Oct 13, 2024
d7d9e1c
fix detail
martinvuyk Oct 13, 2024
f5fb7e9
fix detail
martinvuyk Oct 13, 2024
02e184e
fix detail
martinvuyk Oct 14, 2024
1656317
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Oct 14, 2024
8fbf054
fix detail
martinvuyk Oct 14, 2024
495eb0a
refactor to use span instad of unsafe pointer and len
martinvuyk Oct 14, 2024
4935246
change split to not raise and return separated characters on empty se…
martinvuyk Oct 14, 2024
4769e0b
fix detail
martinvuyk Oct 14, 2024
c419112
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Oct 14, 2024
07d23f6
fix details
martinvuyk Oct 14, 2024
e7bb811
add some traits and finally get it to work
martinvuyk Oct 15, 2024
4918971
fix details
martinvuyk Oct 15, 2024
e93a96e
fix details
martinvuyk Oct 15, 2024
c93f3ac
fix details
martinvuyk Oct 15, 2024
1b60734
fix details
martinvuyk Oct 15, 2024
c723949
add suggestion from @soraros
martinvuyk Oct 15, 2024
c37b55d
add suggestion from @soraros
martinvuyk Oct 15, 2024
972af10
add suggestion from @soraros
martinvuyk Oct 15, 2024
2ce7815
remove redundancy
martinvuyk Oct 15, 2024
4e962fe
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Oct 16, 2024
cb6ba44
refactor and make StringSlice.split() return List[Self]
martinvuyk Oct 16, 2024
b54acac
delete stringref split
martinvuyk Oct 16, 2024
c736b71
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Oct 16, 2024
b7edcad
Merge branch 'nightly' into fix-split-implementations
martinvuyk Oct 16, 2024
fb9f956
Merge branch 'fix-split-implementations' of github.com:martinvuyk/moj…
martinvuyk Oct 16, 2024
e01ad6a
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Oct 17, 2024
8943ae0
add missing traits
martinvuyk Oct 17, 2024
ae0d0d0
add better tests and fix with shady use of rebind
martinvuyk Oct 17, 2024
1eb2065
refactor and add funcs that use new string list builder
martinvuyk Oct 18, 2024
8bcd82b
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Oct 18, 2024
b25d5dc
fix conflicts
martinvuyk Oct 18, 2024
fb5562e
fix detail
martinvuyk Oct 18, 2024
fe746bf
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Oct 19, 2024
969ba59
rename to_string to to_string_list
martinvuyk Oct 19, 2024
0982fea
even more performance gains
martinvuyk Oct 19, 2024
0a7c277
finallyclearclearclear
martinvuyk Oct 20, 2024
d5dc9d2
refactor some details
martinvuyk Oct 20, 2024
3d8dd84
fix details
martinvuyk Oct 20, 2024
3fe9834
fix details
martinvuyk Oct 20, 2024
98d326a
retry github CI
martinvuyk Oct 20, 2024
c8e8877
even more small perf improvements
martinvuyk Oct 20, 2024
4913d11
fix details
martinvuyk Oct 20, 2024
2080c72
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Oct 20, 2024
a792b79
fix details
martinvuyk Oct 20, 2024
d4e20e1
add suggestion by @soraros
martinvuyk Oct 20, 2024
fcf0c6d
add suggestions by @soraros
martinvuyk Oct 21, 2024
6c30c88
Merge branch 'nightly' into fix-split-implementations
martinvuyk Oct 21, 2024
eb6d9d4
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Oct 30, 2024
e6b8efb
fix after merge
martinvuyk Oct 30, 2024
d9ce8a3
reduce benchmark num_repetitions to 1
martinvuyk Oct 30, 2024
2804141
fix detal
martinvuyk Oct 30, 2024
3cbb3b7
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Oct 30, 2024
4e23ab0
unify as_bytes_read and as_bytes_write
martinvuyk Oct 31, 2024
d398eee
fix details
martinvuyk Oct 31, 2024
02ab469
fix details
martinvuyk Oct 31, 2024
805dc26
fix details
martinvuyk Oct 31, 2024
dfb0ad3
fix details
martinvuyk Oct 31, 2024
aec96ad
fix details
martinvuyk Oct 31, 2024
77c0305
update changelog
martinvuyk Oct 31, 2024
9292585
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Oct 31, 2024
0c9a089
add suggestions
martinvuyk Nov 1, 2024
518dffa
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Nov 1, 2024
3be0878
mojo format
martinvuyk Nov 1, 2024
1ec7169
undo iadd and add changes
martinvuyk Nov 5, 2024
c357887
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Nov 5, 2024
8f51bca
revert get_immutable() -> read()
martinvuyk Nov 5, 2024
31e4b96
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Nov 12, 2024
31b9bad
fix unsafe ptr constructors
martinvuyk Nov 12, 2024
338afa6
fix unsafe ptr constructors
martinvuyk Nov 12, 2024
c0ff78d
fix unsafe ptr constructors
martinvuyk Nov 12, 2024
8917f7f
remove generic as_bytes
martinvuyk Nov 15, 2024
ff81054
Merge remote-tracking branch 'upstream/nightly' into fix-split-implem…
martinvuyk Nov 15, 2024
7b71d5a
fix remaining use of as_bytes[]
martinvuyk Nov 15, 2024
1bc9672
fix origin casting
martinvuyk Nov 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,25 @@ what we publish.
([PR #3160](https://github.com/modularml/mojo/pull/3160) by
[@bgreni](https://github.com/bgreni))

- `StringRef` now implements `split()` which can be used to split a
`StringRef` into a `List[StringRef]` by a delimiter.
([PR #2705](https://github.com/modularml/mojo/pull/2705) by [@fknfilewalker](https://github.com/fknfilewalker))
- `String.split()` and `String.splitlines()` now work for `StringLiteral` and
`StringSlice`. In the case of `StringSlice` they return a `List[StringSlice]`
of immutable origin (from the splitted Stringlike item). Some heavy
optimizations were added that improved both functions by several orders of
magnitude. PRs [#3528](https://github.com/modularml/mojo/pull/3528), [#3697](
https://github.com/modularml/mojo/pull/3697
) by [@martinvuyk](https://github.com/martinvuyk).

- `String` concatenation with `StringLiteral` and `StringSlice` is now more
efficient. PR [#3591](https://github.com/modularml/mojo/pull/3591) by
[@martinvuyk](https://github.com/martinvuyk).

- `String.format()` now works with `StringLiteral` and `StringSlice` and is
more efficient. PR [#3539](https://github.com/modularml/mojo/pull/3539) by
[@martinvuyk](https://github.com/martinvuyk).

- We now have solid string benchmarking infrastructure based on many of the most
spoken languages. PR [#3523](https://github.com/modularml/mojo/pull/3523) by
[@martinvuyk](https://github.com/martinvuyk).

- Support for multi-dimensional indexing for `PythonObject`
([PR #3583](https://github.com/modularml/mojo/pull/3583) by [@jjvraw](https://github.com/jjvraw)).
Expand All @@ -211,7 +227,7 @@ what we publish.

- There is now a [`Byte`](/mojo/stdlib/builtin/simd/Byte) alias to better
express intent when working with a pack of bits.
([PR #3670](https://github.com/modularml/mojo/pull/3670) by [@soraos](https://github.com/soraros)).
([PR #3670](https://github.com/modularml/mojo/pull/3670) by [@soraros](https://github.com/soraros)).

- The VS Code extension now supports setting [data breakpoints](https://code.visualstudio.com/docs/editor/debugging#_data-breakpoints)
as well as [function breakpoints](https://code.visualstudio.com/docs/editor/debugging#_function-breakpoints).
Expand Down
142 changes: 72 additions & 70 deletions magic.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ environments:
- conda: https://conda.anaconda.org/conda-forge/noarch/charset-normalizer-3.4.0-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/click-8.1.7-unix_pyh707e725_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/colorama-0.4.6-pyhd8ed1ab_0.tar.bz2
- conda: https://conda.anaconda.org/conda-forge/noarch/datasets-2.14.4-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/datasets-3.0.2-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/deprecated-1.2.14-pyh1a96a4e_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/dill-0.3.7-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/dill-0.3.8-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/dnspython-2.7.0-pyhff2d567_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/email-validator-2.2.0-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/email_validator-2.2.0-hd8ed1ab_0.conda
Expand All @@ -54,7 +54,7 @@ environments:
- conda: https://conda.anaconda.org/conda-forge/noarch/fastapi-cli-0.0.5-pyhd8ed1ab_1.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/filelock-3.16.1-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/frozenlist-1.5.0-py312h66e93f0_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/fsspec-2024.10.0-pyhff2d567_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/fsspec-2024.9.0-pyhff2d567_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/gflags-2.2.2-h5888daf_1005.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/glog-0.7.1-hbabe93e_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/googleapis-common-protos-1.66.0-pyhff2d567_0.conda
Expand Down Expand Up @@ -130,7 +130,7 @@ environments:
- conda: https://conda.anaconda.org/conda-forge/noarch/mdurl-0.1.2-pyhd8ed1ab_0.conda
- conda: https://conda.modular.com/max-nightly/noarch/mojo-jupyter-24.6.0.dev2024111505-release.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/multidict-6.1.0-py312h178313f_1.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/multiprocess-0.70.15-py312h98912ed_1.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/multiprocess-0.70.16-py312h66e93f0_1.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/mypy_extensions-1.0.0-pyha770c72_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/ncurses-6.5-he02047a_1.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/numpy-1.26.4-py312heda63a1_0.conda
Expand Down Expand Up @@ -252,9 +252,9 @@ environments:
- conda: https://conda.anaconda.org/conda-forge/noarch/charset-normalizer-3.4.0-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/click-8.1.7-unix_pyh707e725_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/colorama-0.4.6-pyhd8ed1ab_0.tar.bz2
- conda: https://conda.anaconda.org/conda-forge/noarch/datasets-2.14.4-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/datasets-3.0.2-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/deprecated-1.2.14-pyh1a96a4e_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/dill-0.3.7-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/dill-0.3.8-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/dnspython-2.7.0-pyhff2d567_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/email-validator-2.2.0-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/email_validator-2.2.0-hd8ed1ab_0.conda
Expand All @@ -263,7 +263,7 @@ environments:
- conda: https://conda.anaconda.org/conda-forge/noarch/fastapi-cli-0.0.5-pyhd8ed1ab_1.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/filelock-3.16.1-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/frozenlist-1.5.0-py312hb2c0f52_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/fsspec-2024.10.0-pyhff2d567_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/fsspec-2024.9.0-pyhff2d567_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/gflags-2.2.2-h5ad3122_1005.conda
- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/glog-0.7.1-h468a4a4_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/googleapis-common-protos-1.66.0-pyhff2d567_0.conda
Expand Down Expand Up @@ -340,7 +340,7 @@ environments:
- conda: https://conda.anaconda.org/conda-forge/noarch/mdurl-0.1.2-pyhd8ed1ab_0.conda
- conda: https://conda.modular.com/max-nightly/noarch/mojo-jupyter-24.6.0.dev2024111505-release.conda
- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/multidict-6.1.0-py312hcc812fe_1.conda
- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/multiprocess-0.70.15-py312hdd3e373_1.conda
- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/multiprocess-0.70.16-py312hb2c0f52_1.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/mypy_extensions-1.0.0-pyha770c72_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/ncurses-6.5-hcccb83c_1.conda
- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/numpy-1.26.4-py312h470d778_0.conda
Expand Down Expand Up @@ -461,9 +461,9 @@ environments:
- conda: https://conda.anaconda.org/conda-forge/noarch/charset-normalizer-3.4.0-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/click-8.1.7-unix_pyh707e725_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/colorama-0.4.6-pyhd8ed1ab_0.tar.bz2
- conda: https://conda.anaconda.org/conda-forge/noarch/datasets-2.14.4-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/datasets-3.0.2-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/deprecated-1.2.14-pyh1a96a4e_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/dill-0.3.7-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/dill-0.3.8-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/dnspython-2.7.0-pyhff2d567_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/email-validator-2.2.0-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/email_validator-2.2.0-hd8ed1ab_0.conda
Expand All @@ -472,7 +472,7 @@ environments:
- conda: https://conda.anaconda.org/conda-forge/noarch/fastapi-cli-0.0.5-pyhd8ed1ab_1.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/filelock-3.16.1-pyhd8ed1ab_0.conda
- conda: https://conda.anaconda.org/conda-forge/osx-arm64/frozenlist-1.5.0-py312h0bf5046_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/fsspec-2024.10.0-pyhff2d567_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/fsspec-2024.9.0-pyhff2d567_0.conda
- conda: https://conda.anaconda.org/conda-forge/osx-arm64/gflags-2.2.2-hf9b8971_1005.conda
- conda: https://conda.anaconda.org/conda-forge/osx-arm64/glog-0.7.1-heb240a5_0.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/googleapis-common-protos-1.66.0-pyhff2d567_0.conda
Expand Down Expand Up @@ -540,7 +540,7 @@ environments:
- conda: https://conda.anaconda.org/conda-forge/noarch/mdurl-0.1.2-pyhd8ed1ab_0.conda
- conda: https://conda.modular.com/max-nightly/noarch/mojo-jupyter-24.6.0.dev2024111505-release.conda
- conda: https://conda.anaconda.org/conda-forge/osx-arm64/multidict-6.1.0-py312hdb8e49c_1.conda
- conda: https://conda.anaconda.org/conda-forge/osx-arm64/multiprocess-0.70.15-py312h02f2b3b_1.conda
- conda: https://conda.anaconda.org/conda-forge/osx-arm64/multiprocess-0.70.16-py312h024a12e_1.conda
- conda: https://conda.anaconda.org/conda-forge/noarch/mypy_extensions-1.0.0-pyha770c72_0.conda
- conda: https://conda.anaconda.org/conda-forge/osx-arm64/ncurses-6.5-h7bae524_1.conda
- conda: https://conda.anaconda.org/conda-forge/osx-arm64/numpy-1.26.4-py312h8442bc7_0.conda
Expand Down Expand Up @@ -2171,33 +2171,33 @@ packages:
timestamp: 1666700778190
- kind: conda
name: datasets
version: 2.14.4
version: 3.0.2
build: pyhd8ed1ab_0
subdir: noarch
noarch: python
url: https://conda.anaconda.org/conda-forge/noarch/datasets-2.14.4-pyhd8ed1ab_0.conda
sha256: 7e09bd083a609138b780fcc4535924cb96814d2c908a36d4c64a2ba9ee3efe7f
md5: 3e087f072ce03c43a9b60522f5d0ca2f
url: https://conda.anaconda.org/conda-forge/noarch/datasets-3.0.2-pyhd8ed1ab_0.conda
sha256: c2758f660288867ef79b0041dc9d564185e2daedcf06298dedd01b62f52478e3
md5: d66a03e9ab3fa13c1268718f5fe85786
depends:
- aiohttp
- dill >=0.3.0,<0.3.8
- fsspec >=2021.11.1
- huggingface_hub >=0.14.0,<1.0.0
- importlib-metadata
- multiprocess
- dill >=0.3.0,<0.3.9
- filelock
- fsspec >=2023.1.0,<=2024.9.0
- huggingface_hub >=0.23.0
- multiprocess <0.70.17
- numpy >=1.17
- packaging
- pandas
- pyarrow >=8.0.0
- python >=3.8.0
- pyarrow >=15.0.0
- python >=3.8
- python-xxhash
- pyyaml >=5.1
- requests >=2.19.0
- tqdm >=4.62.1
- requests >=2.32.2
- tqdm >=4.66.3
license: Apache-2.0
license_family: Apache
size: 347303
timestamp: 1691593908658
size: 330303
timestamp: 1729719013543
- kind: conda
name: deprecated
version: 1.2.14
Expand All @@ -2216,19 +2216,19 @@ packages:
timestamp: 1685233463632
- kind: conda
name: dill
version: 0.3.7
version: 0.3.8
build: pyhd8ed1ab_0
subdir: noarch
noarch: python
url: https://conda.anaconda.org/conda-forge/noarch/dill-0.3.7-pyhd8ed1ab_0.conda
sha256: 4ff20c6be028be2825235631c45d9e4a75bca1de65f8840c02dfb28ea0137c45
md5: 5e4f3466526c52bc9af2d2353a1460bd
url: https://conda.anaconda.org/conda-forge/noarch/dill-0.3.8-pyhd8ed1ab_0.conda
sha256: 482b5b566ca559119b504c53df12b08f3962a5ef8e48061d62fd58a47f8f2ec4
md5: 78745f157d56877a2c6e7b386f66f3e2
depends:
- python >=3.7
license: BSD-3-Clause
license_family: BSD
size: 87553
timestamp: 1690101185422
size: 88169
timestamp: 1706434833883
- kind: conda
name: dnspython
version: 2.7.0
Expand Down Expand Up @@ -2407,19 +2407,19 @@ packages:
timestamp: 1729699642726
- kind: conda
name: fsspec
version: 2024.10.0
version: 2024.9.0
build: pyhff2d567_0
subdir: noarch
noarch: python
url: https://conda.anaconda.org/conda-forge/noarch/fsspec-2024.10.0-pyhff2d567_0.conda
sha256: 40bb76981dd49d5869b48925a8975bb7bbe4e33e1e40af4ec06f6bf4a62effd7
md5: 816dbc4679a64e4417cd1385d661bb31
url: https://conda.anaconda.org/conda-forge/noarch/fsspec-2024.9.0-pyhff2d567_0.conda
sha256: 8f4e9805b4ec223dea0d99f9e7e57c391d9026455eb9f0d6e0784c5d1a1200dc
md5: ace4329fbff4c69ab0309db6da182987
depends:
- python >=3.8
license: BSD-3-Clause
license_family: BSD
size: 134745
timestamp: 1729608972363
size: 134378
timestamp: 1725543368393
- kind: conda
name: gflags
version: 2.2.2
Expand Down Expand Up @@ -5636,59 +5636,61 @@ packages:
timestamp: 1729065664275
- kind: conda
name: multiprocess
version: 0.70.15
build: py312h02f2b3b_1
version: 0.70.16
build: py312h024a12e_1
build_number: 1
subdir: osx-arm64
url: https://conda.anaconda.org/conda-forge/osx-arm64/multiprocess-0.70.15-py312h02f2b3b_1.conda
sha256: 8041371e3ec3fbc2ca13c71b0180672896e6382e62892d9f6b11a4c5dd675951
md5: 910ef2223c71902175418d9163152788
url: https://conda.anaconda.org/conda-forge/osx-arm64/multiprocess-0.70.16-py312h024a12e_1.conda
sha256: d19a1c8b3fd44414657066becba960143e7115a385fb71b941f7e9c74f066a32
md5: fd83a478d686df79aa394b9db1ad20b5
depends:
- dill >=0.3.6
- python >=3.12.0rc3,<3.13.0a0
- python >=3.12.0rc3,<3.13.0a0 *_cpython
- __osx >=11.0
- dill >=0.3.8
- python >=3.12,<3.13.0a0
- python >=3.12,<3.13.0a0 *_cpython
- python_abi 3.12.* *_cp312
license: BSD-3-Clause
license_family: BSD
size: 335147
timestamp: 1695459275360
size: 342831
timestamp: 1724954807776
- kind: conda
name: multiprocess
version: 0.70.15
build: py312h98912ed_1
version: 0.70.16
build: py312h66e93f0_1
build_number: 1
subdir: linux-64
url: https://conda.anaconda.org/conda-forge/linux-64/multiprocess-0.70.15-py312h98912ed_1.conda
sha256: bb612a921fafda6375a2204ffebd8811db8dd3b8f25ac9886cc9bcbff7e3664e
md5: 5a64b9f44790d9a187a85366dd0ffa8d
url: https://conda.anaconda.org/conda-forge/linux-64/multiprocess-0.70.16-py312h66e93f0_1.conda
sha256: 459092c4e9305e00a0207b764a266c9caa14d82196322b2a74c96028c563a809
md5: efe4a3f62320156f68579362314009f3
depends:
- dill >=0.3.6
- libgcc-ng >=12
- python >=3.12.0rc3,<3.13.0a0
- __glibc >=2.17,<3.0.a0
- dill >=0.3.8
- libgcc >=13
- python >=3.12,<3.13.0a0
- python_abi 3.12.* *_cp312
license: BSD-3-Clause
license_family: BSD
size: 335666
timestamp: 1695459025249
size: 340540
timestamp: 1724954755987
- kind: conda
name: multiprocess
version: 0.70.15
build: py312hdd3e373_1
version: 0.70.16
build: py312hb2c0f52_1
build_number: 1
subdir: linux-aarch64
url: https://conda.anaconda.org/conda-forge/linux-aarch64/multiprocess-0.70.15-py312hdd3e373_1.conda
sha256: c53362cdf346f314e111faddc53061e3fd2ece0ba68ca303f5dd109976df158f
md5: 173a1692d2b3ddc265dc6afd21a869b3
url: https://conda.anaconda.org/conda-forge/linux-aarch64/multiprocess-0.70.16-py312hb2c0f52_1.conda
sha256: f93627c78d1f86f593350196699b462c334542477aa55fe0212edf45392c9ab4
md5: 642c63b684ce5614f157572b04816983
depends:
- dill >=0.3.6
- libgcc-ng >=12
- python >=3.12.0rc3,<3.13.0a0
- python >=3.12.0rc3,<3.13.0a0 *_cpython
- dill >=0.3.8
- libgcc >=13
- python >=3.12,<3.13.0a0
- python >=3.12,<3.13.0a0 *_cpython
- python_abi 3.12.* *_cp312
license: BSD-3-Clause
license_family: BSD
size: 336110
timestamp: 1695459137796
size: 341428
timestamp: 1724954862644
- kind: conda
name: mypy_extensions
version: 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion stdlib/benchmarks/collections/bench_string.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ fn bench_string_is_valid_utf8[
# ===----------------------------------------------------------------------===#
def main():
seed()
var m = Bench(BenchConfig(num_repetitions=5))
var m = Bench(BenchConfig(num_repetitions=1))
alias filenames = (
"UN_charter_EN",
"UN_charter_ES",
Expand Down
Loading