Skip to content

Commit 43ea7cb

Browse files
committed
Auto-generated commit
1 parent a817de9 commit 43ea7cb

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

to-fancy/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ var v = y[ 10 ];
149149

150150
## Notes
151151

152-
- A fancy array shares the **same** data as the provided input array. Hence, any mutations to the returned array will affect the underlying input array.
152+
- A fancy array shares the **same** data as the provided input array. Hence, any mutations to the returned array will affect the underlying input array and vice versa.
153+
- For operations returning a new array (e.g., when slicing or invoking an instance method), a fancy array returns a new fancy array having the same configuration as specified by `options`.
153154
- A fancy array supports indexing using positive and negative integers (both numeric literals and strings), [`Slice`][@stdlib/slice/ctor] instances, and [subsequence expressions][@stdlib/slice/seq2slice].
154155
- A fancy array supports all properties and methods of the input array, and, thus, a fancy array can be consumed by any API which supports array-like objects.
155156
- Indexing expressions provide a convenient and powerful means for creating and operating on array views; however, their use does entail a performance cost. Indexing expressions are best suited for interactive use (e.g., in the [REPL][@stdlib/repl]) and scripting. For performance critical applications, prefer equivalent functional APIs supporting array-like objects.

to-fancy/docs/repl.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66
indexing expressions for both retrieval and assignment.
77

88
A fancy array shares the *same* data as the provided input array. Hence, any
9-
mutations to the returned array will affect the underlying input array.
9+
mutations to the returned array will affect the underlying input array and
10+
vice versa.
11+
12+
For operations returning a new array (e.g., when slicing or invoking an
13+
instance method), a fancy array returns a new fancy array having the same
14+
configuration as specified by provided options.
1015

1116
A fancy array supports indexing using positive and negative integers (both
1217
numeric literals and strings), Slice instances, and subsequence expressions.

0 commit comments

Comments
 (0)