|
Boost : |
From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2002-07-21 16:40:56
Hello Boost,
1) I wanted to show you a benchmark showing shared pointer differences
between squad_ptr<> and shared_ptr<>. shared_ptr<> is not derived from
counted_base because I wanted to point out that squad_ptr<> is easier to use
with typenames like int, float, ... and keeps its rapidity. Compilation of
'g++ -lrt benchmark.cpp' on Intel 1.4 GHz reports:
Ressources required by shared_tr<>:
Arena 0:
system bytes = 115104
in use bytes = 113032
Total (incl. mmap):
system bytes = 115104
in use bytes = 113032
max mmap regions = 0
max mmap bytes = 0
list shared_ptr<> took 3303000 nanoseconds to construct.
list shared_ptr<> took 2424000 nanoseconds to copy.
list shared_ptr<> took 2612000 nanoseconds to destroy.
Ressources required by squad_tr<>:
Arena 0:
system bytes = 131488
in use bytes = 50040
Total (incl. mmap):
system bytes = 131488
in use bytes = 50040
max mmap regions = 0
max mmap bytes = 0
list squad_ptr<> took 1251000 nanoseconds to construct.
list squad_ptr<> took 979000 nanoseconds to copy.
list squad_ptr<> took 1262000 nanoseconds to destroy.
2) prefix<> is the type used when squad_ptr<>::element_type and
plist<>::node are instanciated. It is the prefix of a variable; the space
allocated before the variable is constructed. This allows to construct
member variables using their different time consuming constructors without
depending on temporary variables and copy constructors.
3) testplist.cpp shows another advantage of using prefix<> when nodes of a
list are instanciated. You won't need pointers.
4) Other things:
- 'squad_ptr' was chosen as a name because it's a group of pointers
taking care of the same object; they work collectively.
- The macro squad_new is a valid macro usage IMO. It is for code
simplification and operator new are globally defined anyways, even in a
namespace. Forward declarations of squad_new which will become impossible
is the only drawback.
- Removing squad_new is possible.
- Too bad operator new cannot use the scope of a namespace. Why?
Thanks,
Philippe A. Bouchard
begin 666 squad_ptr.h
M+RH*(" @5&AI<R!F:6QE(&ES('!A<G0@;V8@=&AE($9$22!L:6)R87)I97,*
M(" @0V]P>7)I9VAT("AC*2 R,# R(%!H:6QI<'!E($$N($)O=6-H87)D(#QP
M:&EL:7!P94!F;W)N=7_at_N8V]M/@H*(" @5&AI<R!L:6)R87)Y(&ES(&9R964@
M<V]F='=A<F4[('EO=2!C86X@<F5D:7-T<FEB=71E(&ET(&%N9"]O<@H@("!M
M;V1I9GD@:70@=6YD97(@=&AE('1E<FUS(&]F('1H92!'3E4_at_3&EB<F%R>2!'
M96YE<F%L(%!U8FQI8PH@("!,:6-E;G-E('9E<G-I;VX@,B!A<R!P=6)L:7-H
M960_at_8GD@=&AE($9R964_at_4V]F='=A<F4_at_1F]U;F1A=&EO;BX*"B @(%1H:7,@
M;&EB<F%R>2!I<R!D:7-T<FEB=71E9"!I;B!T:&4@:&]P92!T:&%T(&ET('=I
M;&P_at_8F4@=7-E9G5L+ H@("!B=70_at_5TE42$]55"!!3ED_at_5T%24D%.5%D[('=I
M=&AO=70_at_979E;B!T:&4@:6UP;&EE9"!W87)R86YT>2!O9_at_H@("!-15)#2$%.
M5$%"24Q)5%D@;W(@1DE43D534R!&3U(@02!005)424-53$%2(%!54E!/4T4N
M("!3964@=&AE($=.50H@("!,:6)R87)Y($=E;F5R86P_at_4'5B;&EC($QI8V5N
M<V4_at_9F]R(&UO<F4_at_9&5T86EL<RX*"B @(%EO=2!S:&]U;&0@:&%V92!R96-E
M:79E9"!A(&-O<'D@;V8@=&AE($=.52!,:6)R87)Y($=E;F5R86P_at_4'5B;&EC
M($QI8V5N<V4*(" @86QO;F<@=VET:"!T:&ES(&QI8G)A<GD[('-E92!T:&4@
M9FEL92!#3U!924Y'+DQ)0BX@($EF(&YO="P@=W)I=&4@=&\*(" @=&AE($9R
M964_at_4V]F='=A<F4_at_1F]U;F1A=&EO;BP_at_26YC+BP_at_-3D@5&5M<&QE(%!L86-E
M("T_at_4W5I=&4@,S,P+ H@("!";W-T;VXL($U!(# R,3$Q+3$S,#<L(%5302X*
M*B\*"@HC:69N9&5F(%-154%$7U!44E]("B-D969I;F4_at_4U%5041?4%127T@*
M"@HC:6YC;'5D92 B<')E9FEX+F_at_B"@H*;F%M97-P86-E(&9D:0I["@H*=&5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75A
M9%]T87)G970\7U1Y<&4^("H^*&YE=R H;F5W('-Q=6%D7W1A<F=E=#Q?5'EP
?93XI(%]#;VYS=')U8W1O<BD*"@I]"@H*(V5N9&EF"@``
`
end
begin 666 mutable_ptr.h
M+RH*(" @5&AI<R!F:6QE(&ES('!A<G0@;V8@=&AE($9$22!L:6)R87)I97,*
M(" @0V]P>7)I9VAT("AC*2 R,# R(%!H:6QI<'!E($$N($)O=6-H87)D(#QP
M:&EL:7!P94!F;W)N=7_at_N8V]M/@H*(" @5&AI<R!L:6)R87)Y(&ES(&9R964@
M<V]F='=A<F4[('EO=2!C86X@<F5D:7-T<FEB=71E(&ET(&%N9"]O<@H@("!M
M;V1I9GD@:70@=6YD97(@=&AE('1E<FUS(&]F('1H92!'3E4_at_3&EB<F%R>2!'
M96YE<F%L(%!U8FQI8PH@("!,:6-E;G-E('9E<G-I;VX@,B!A<R!P=6)L:7-H
M960_at_8GD@=&AE($9R964_at_4V]F='=A<F4_at_1F]U;F1A=&EO;BX*"B @(%1H:7,@
M;&EB<F%R>2!I<R!D:7-T<FEB=71E9"!I;B!T:&4@:&]P92!T:&%T(&ET('=I
M;&P_at_8F4@=7-E9G5L+ H@("!B=70_at_5TE42$]55"!!3ED_at_5T%24D%.5%D[('=I
M=&AO=70_at_979E;B!T:&4@:6UP;&EE9"!W87)R86YT>2!O9_at_H@("!-15)#2$%.
M5$%"24Q)5%D@;W(@1DE43D534R!&3U(@02!005)424-53$%2(%!54E!/4T4N
M("!3964@=&AE($=.50H@("!,:6)R87)Y($=E;F5R86P_at_4'5B;&EC($QI8V5N
M<V4_at_9F]R(&UO<F4_at_9&5T86EL<RX*"B @(%EO=2!S:&]U;&0@:&%V92!R96-E
M:79E9"!A(&-O<'D@;V8@=&AE($=.52!,:6)R87)Y($=E;F5R86P_at_4'5B;&EC
M($QI8V5N<V4*(" @86QO;F<@=VET:"!T:&ES(&QI8G)A<GD[('-E92!T:&4@
M9FEL92!#3U!924Y'+DQ)0BX@($EF(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_at_I*3L*"0D)"7T*"0D)"7)E='5R;B J('1H:7,["@D)"7T*"@D)?FUU=&%B
M;&5?<'1R*"D*"0E["@D)"61E;&5T92!M7W!T<CL*"0E]"@H)"65L96UE;G1?
M='EP92 F(&]P97)A=&]R("H@*"D_at_8V]N<W0*"0E["@D)"7)E='5R;B J(&U?
M<'1R.PH)"7T*"@D)96QE;65N=%]T>7!E("H@;W!E<F%T;W(@+3X@*"D_at_8V]N
M<W0*"0E["@D)"7)E='5R;B!M7W!T<CL*"0E]"@H)"65L96UE;G1?='EP92 J
M(&=E="@I(&-O;G-T"@D)>PH)"0ER971U<FX@;5]P='(["@D)?0H*"0EE;&5M
M96YT7W1Y<&4@*B!R96QE87-E*"D_at_8V]N<W0*"0E["@D)"65L96UE;G1?='EP
M92 J('1M<" ](&U?<'1R.PH)"0EM7W!T<B ](# ["@D)"7)E='5R;B!T;7 [
M"@D)?0H*"0EV;VED(')E<V5T*&5L96UE;G1?='EP92 J(&%?<" ](# I"@D)
M>PH)"0ED96QE=&4@;5]P='(["@D)"6U?<'1R(#T_at_85]P.PH)"7T*"@EP<FEV
M871E._at_H)"6UU=&%B;&4_at_96QE;65N=%]T>7!E("H@;5]P='(["@E].PH*"GT*
)"@HC96YD:68*
`
end
begin 666 prefix.h
M+RH*(" @5&AI<R!F:6QE(&ES('!A<G0@;V8@=&AE($9$22!L:6)R87)I97,*
M(" @0V]P>7)I9VAT("AC*2 R,# R(%!H:6QI<'!E($$N($)O=6-H87)D(#QP
M:&EL:7!P94!F;W)N=7_at_N8V]M/@H*(" @5&AI<R!L:6)R87)Y(&ES(&9R964@
M<V]F='=A<F4[('EO=2!C86X@<F5D:7-T<FEB=71E(&ET(&%N9"]O<@H@("!M
M;V1I9GD@:70@=6YD97(@=&AE('1E<FUS(&]F('1H92!'3E4_at_3&EB<F%R>2!'
M96YE<F%L(%!U8FQI8PH@("!,:6-E;G-E('9E<G-I;VX@,B!A<R!P=6)L:7-H
M960_at_8GD@=&AE($9R964_at_4V]F='=A<F4_at_1F]U;F1A=&EO;BX*"B @(%1H:7,@
M;&EB<F%R>2!I<R!D:7-T<FEB=71E9"!I;B!T:&4@:&]P92!T:&%T(&ET('=I
M;&P_at_8F4@=7-E9G5L+ H@("!B=70_at_5TE42$]55"!!3ED_at_5T%24D%.5%D[('=I
M=&AO=70_at_979E;B!T:&4@:6UP;&EE9"!W87)R86YT>2!O9_at_H@("!-15)#2$%.
M5$%"24Q)5%D@;W(@1DE43D534R!&3U(@02!005)424-53$%2(%!54E!/4T4N
M("!3964@=&AE($=.50H@("!,:6)R87)Y($=E;F5R86P_at_4'5B;&EC($QI8V5N
M<V4_at_9F]R(&UO<F4_at_9&5T86EL<RX*"B @(%EO=2!S:&]U;&0@:&%V92!R96-E
M:79E9"!A(&-O<'D@;V8@=&AE($=.52!,:6)R87)Y($=E;F5R86P_at_4'5B;&EC
M($QI8V5N<V4*(" @86QO;F<@=VET:"!T:&ES(&QI8G)A<GD[('-E92!T:&4@
M9FEL92!#3U!924Y'+DQ)0BX@($EF(&YO="P@=W)I=&4@=&\*(" @=&AE($9R
M964_at_4V]F='=A<F4_at_1F]U;F1A=&EO;BP_at_26YC+BP_at_-3D@5&5M<&QE(%!L86-E
M("T_at_4W5I=&4@,S,P+ H@("!";W-T;VXL($U!(# R,3$Q+3$S,#<L(%5302X*
M*B\*"@HC:69N9&5F(%!2149)6%]("B-D969I;F4_at_4%)%1DE87T@*"@HC:6YC
M;'5D92 \;F5W/@H*"FYA;65S<&%C92!F9&D*>PH*"G1E;7!L871E(#QT>7!E
M;F%M92!?5#X*"7-T<G5C="!P<F5F:7@*"7L*"0ET>7!E9&5F(%]4('9A;'5E
M7W1Y<&4["@H*"0EP<F5F:7_at_H*0H)"7L*"0E]"@H)"7YP<F5F:7_at_H*0H)"7L*
M"0D)*'1H:7,M/BIP7W9A;'5E*2Y^=F%L=65?='EP92_at_[hidden])"7T*"@EP<F]T
M96-T960Z"@D)=F%L=65?='EP92 F(&=E="@I"@D)>P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H9"YP=7-H7V)A8VLH*2D_at_5"@X*3L*"@D)8V]U=" \/" B*&0N
M8F%C:R_at_I(#T]("(@/#P_at_9"YB86-K*"DN:2 \/" B*2(@/#P_at_96YD;#L*"7T*
"?0H`
`
end
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk