提交 c00ef445 authored 作者: --global's avatar --global

Update description about strict mode

上级 5d43badc
...@@ -475,16 +475,16 @@ Scan. This may have the effect of increasing memory usage but can also ...@@ -475,16 +475,16 @@ Scan. This may have the effect of increasing memory usage but can also
reduce the overhead introduces by using Scan. reduce the overhead introduces by using Scan.
Passing shared variables as non-sequences Explicitly passing inputs of the inner function to scan
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
It is possible, inside of Scan, to use shared variables previously defined It is possible, inside of Scan, to use variables previously defined outside of
outside of the Scan without explicitly passing them as inputs to the Scan. the Scan without explicitly passing them as inputs to the Scan. However, it is
However it is often more efficient to explicitly pass them as non-sequence often more efficient to explicitly pass them as non-sequence inputs instead.
inputs instead. Section :ref:`lib_scan_shared_variables` provides an Section :ref:`lib_scan_shared_variables` provides an explanation for this and
explanation for this and section :ref:`lib_scan_strict` describes the *strict* section :ref:`lib_scan_strict` describes the *strict* flag, a tool that Scan
flag, a tool that Scan provides to help ensure that the shared variables are provides to help ensure that the inputs to the function inside Scan have all
correctly passed as non-sequence inputs to Scan. been provided as explicit inputs to the ``scan()`` function.
Deactivating garbage collecting in Scan Deactivating garbage collecting in Scan
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论