-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Updated user-guide library docs with optimized config #976
Conversation
@houqp @alamb @andygrove FYI took a first cut at this by adding to the library section of the user-guide. Let me know your thoughts. |
docs/user-guide/src/library.md
Outdated
|
||
```toml | ||
[dependencies] | ||
datafusion = { git = "https://github.com/apache/arrow-datafusion.git", features = ["simd"]} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
datafusion = { git = "https://github.com/apache/arrow-datafusion.git", features = ["simd"]} | |
datafusion = "5.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we dont need to keep the features = ["simd"]
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah you're right 👍 But probably we don't want people building from git, if not needed.
snmalloc-rs = {version = "0.2", features= ["cache-friendly"]} | ||
num_cpus = "1.0" | ||
|
||
[profile.release] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe mention that using this will increase the build time considerably
docs/user-guide/src/library.md
Outdated
static ALLOC: snmalloc_rs::SnMalloc = snmalloc_rs::SnMalloc; | ||
``` | ||
|
||
Finally, in order to build with these optimizations `cargo nightly` is required. Based on the instruction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nightly is only required for using simd
Which issue does this PR close?
Closes #882 .
Rationale for this change
What changes are included in this PR?
Are there any user-facing changes?