Archived issue #0033537
Foundation Classes - Base vector of pointers improvement
Description
Need to avoid of using TCollection map size and use pow of 2.
Additionally, need to use operation resize instead of free and allocate
Additionally, need to use operation resize instead of free and allocate
Public activity
6 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Nov 24 02:09:45 2023 +0000
0033537: Foundation Classes - Base vector of pointers improvement
Updated NCollection_BasePointerVector to allocate
and use small block instead of 101 as minimum.
Operation reallocate used to avoid additional copy operations.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Nov 24 02:09:45 2023 +0000
0033537: Foundation Classes - Base vector of pointers improvement
Updated NCollection_BasePointerVector to allocate
and use small block instead of 101 as minimum.
Operation reallocate used to avoid additional copy operations.
Dear IKA, please varify CR33537
There is a minor update to avoid 101 element allocation. 101 - 1001 - 2002 ...
There is a minor update to avoid 101 element allocation. 101 - 1001 - 2002 ...
Dear Author,
+ else
+ {
+ myCapacity = myCapacity * 2;
+ }
may be you should think about << in this case?
+ while (myCapacity < theInd)
+ {
+ myCapacity * 2;
+ }
'=' missed
+ else
+ {
+ myCapacity = myCapacity * 2;
+ }
may be you should think about << in this case?
+ while (myCapacity < theInd)
+ {
+ myCapacity * 2;
+ }
'=' missed
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Dear Commenter 1, please close.
Already merged into [archived branch] as a part of CR0-780
Already merged into [archived branch] as a part of CR0-780
Branch [archived branch] has been deleted by Commenter 4.
[revision removed]
[revision removed]