We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d3557d commit 2d540caCopy full SHA for 2d540ca
spec/arrays.dd
@@ -809,8 +809,8 @@ assert(copy.ptr != array.ptr);
809
---
810
)
811
812
- $(NOTE Accessing `.capacity` requires the runtime to
813
- acquire a global lock and perform a table lookup.)
+ $(NOTE Accessing `.capacity` may require the runtime to
+ acquire a global lock and perform a cache lookup.)
814
815
$(BEST_PRACTICE Avoid intensive use of `.capacity` in performance-sensitive code.
816
Instead, track the capacity locally when building an array via a unique reference.)
0 commit comments