Skip to content

Commit

Permalink
update news + fix strip + opt-level3 argminmax
Browse files Browse the repository at this point in the history
  • Loading branch information
sorhawell committed Sep 8, 2023
1 parent 92d515c commit f7e005a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
## What's changed

- New string method `to_titlecase()` (#371).
- Subnamespace name "arr" as in `<Expr>$arr$` & `<Series>$arr$` is deprecated in favor of "list".
Finally at polars 0.9.0 the "arr" will be removed (#375).
- Polars github release now includes cross-compiled binary for Mac Arm CPUs (aarch-apple-darwin).
See installation instructions in README.md. (#377)
- Bugfix: Although stated in news for PR (#334) `strip = true` was not actually set for the
"release-optimized" compilation profile. Now it is. This and `lto="fat"` give smaller binaries
(#377).

# polars 0.8.0

Expand Down
5 changes: 2 additions & 3 deletions src/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ mimalloc = { version = "0.1.34", default-features = false }
[target.'cfg(all(target_os = "linux", not(use_mimalloc)))'.dependencies]
jemallocator = { version = "0.5.0", features = ["disable_initial_exec_tls"] }


# use opt-level = 1 for argminmax package unless profile is profile.release-optimized to support Rust < 1.66
[profile.release-optimized]
inherits = "release"
codegen-units = 1
lto = "fat"
strip = true

[profile.release.package.argminmax]
opt-level = 1
opt-level = 3 # was 1 to support 1.66, but since 1.70 is needed anyway it does not matter anymore
[profile.release-optimized.package.argminmax]
opt-level = 3

Expand Down

0 comments on commit f7e005a

Please sign in to comment.