Skip to content

Commit

Permalink
Update docs/lang/articles/basic/ndarray.md
Browse files Browse the repository at this point in the history
Co-authored-by: Ailing  <ailzhang@users.noreply.github.com>
  • Loading branch information
Olinaaaloompa and ailzhang committed Jan 13, 2023
1 parent da37f12 commit 07b915c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/lang/articles/basic/ndarray.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ Apart from the constructor, Taichi provides some basic operations to interact wi

:::Note

:::note
Accessing ndarrray elements from the Python scope comes in handy but inevitably generates and launches multiple tiny Taichi kernels, which is not the best practice performance-wise. You are encouraged to keep compute-heavy work inside one Taichi kernel instead of operating on arrays element-by-element from the Python scope.

:::

- Data copy of ndarrays
Expand Down

0 comments on commit 07b915c

Please sign in to comment.