diff options
author | Richard Carlsson <[email protected]> | 2019-03-11 15:57:36 +0100 |
---|---|---|
committer | Richard Carlsson <[email protected]> | 2019-03-11 16:17:54 +0100 |
commit | 0eefa1868ba65771077e57bafaa11b1834af7522 (patch) | |
tree | ce387d680f32dfcb5a26b14e06f433fe0fc3ffc2 /lib | |
parent | b4f73263b11efd7298ca320a6025952b2be99066 (diff) | |
download | otp-0eefa1868ba65771077e57bafaa11b1834af7522.tar.gz otp-0eefa1868ba65771077e57bafaa11b1834af7522.tar.bz2 otp-0eefa1868ba65771077e57bafaa11b1834af7522.zip |
Clarify comments in array module
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stdlib/src/array.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/array.erl b/lib/stdlib/src/array.erl index 904d977faf..a65f7eb747 100644 --- a/lib/stdlib/src/array.erl +++ b/lib/stdlib/src/array.erl @@ -126,8 +126,8 @@ %% per write than base 10, but the speedup is only 21%.) -define(DEFAULT, undefined). --define(LEAFSIZE, 10). % the "base" --define(NODESIZE, ?LEAFSIZE). % (no reason to have a different size) +-define(LEAFSIZE, 10). % the "base" (assumed to be > 1) +-define(NODESIZE, ?LEAFSIZE). % must not be LEAFSIZE-1; keep same as leaf -define(NODEPATTERN(S), {_,_,_,_,_,_,_,_,_,_,S}). % NODESIZE+1 elements! -define(NEW_NODE(E,S), % general case (currently unused) setelement((?NODESIZE+1),erlang:make_tuple((?NODESIZE+1),(E)),(S))). |