mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.docs
git-svn-id: svn://ultimatepp.org/upp/trunk@7632 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6ecfab2516
commit
7f84337383
1 changed files with 7 additions and 6 deletions
|
|
@ -260,12 +260,13 @@ ValueMap.&]
|
|||
[s4;%- &]
|
||||
[s5;:ValueMap`:`:GetAndClear`(const Value`&`):%- [_^Value^ Value]_[* GetAndClear]([@(0.0.255) c
|
||||
onst]_[_^Value^ Value][@(0.0.255) `&]_[*@3 key])&]
|
||||
[s2; If [%-*@3 key] is not present, returns void Value, otherwise returns
|
||||
value for [%-*@3 key] and sets it to void Value. The purpose of
|
||||
this processing is to optimize copying in situation when complex
|
||||
value (e.g. ValueArray) is about to be changed after retrieval,
|
||||
without clearing it in ValueMap the deep copy of complex structure
|
||||
would have to be performed when changing it.&]
|
||||
[s2; If [%-*@3 key] is not present, returns ErrorValue (which is Void
|
||||
and Null), otherwise returns value for [%-*@3 key] and sets it
|
||||
to void Value. The purpose of this processing is to optimize
|
||||
copying in situation when complex value (e.g. ValueArray) is
|
||||
about to be changed after retrieval, without clearing it in ValueMap
|
||||
the deep copy of complex structure would have to be performed
|
||||
when changing it.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:ValueMap`:`:GetHashValue`(`)const:%- [@(0.0.255) unsigned]_[* GetHashValue]()_[@(0.0.255) c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue