Add caveat about changing parallelism and function call overhead
This commit is contained in:
parent
cf708558b7
commit
fd25491807
@ -1449,6 +1449,10 @@ fn _assert_sync_and_send() {
|
|||||||
/// global state in order to more accurately query the amount of available
|
/// global state in order to more accurately query the amount of available
|
||||||
/// parallelism.
|
/// parallelism.
|
||||||
///
|
///
|
||||||
|
/// Resource limits can be changed during the runtime of a program, therefore the value is
|
||||||
|
/// not cached and instead recomputed every time this function is called. It should not be
|
||||||
|
/// called from hot code.
|
||||||
|
///
|
||||||
/// The value returned by this function should be considered a simplified
|
/// The value returned by this function should be considered a simplified
|
||||||
/// approximation of the actual amount of parallelism available at any given
|
/// approximation of the actual amount of parallelism available at any given
|
||||||
/// time. To get a more detailed or precise overview of the amount of
|
/// time. To get a more detailed or precise overview of the amount of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user