Hi:
On Sep 27, 2005, at 14:47 , Jeff Hill wrote:
PropertyCatalog currently has "operator =" and "operator ==".
O Do they meet the conventional wisdom test? That is, is their purpose
roughly equivalent to the purpose of these operators with primitive
types?
The '=' is supposed to be a simple assignment.
Something that can usually be done in one machine-code instruction.
Maybe a memcpy or double-to-int conversion.
Not invocations of traverse(), looking for matching properties
via find(), converting types, ...
Such a rather complex mapping exceeds what I'd expect
behind a simple '='.
I think "The C++ Programming language" has a discussion
for iterators, operator ++.
If it's a constant-speed iteration, like an in-memory linked list:
OK.
Not OK for remote database access where one '++' returns immediately,
the next one takes a minute.
-Kay
- Replies:
- RE: data access structures, strings Jeff Hill
- References:
- RE: data access structures, strings Jeff Hill
- Navigate by Date:
- Prev:
EPICS Meeting agenda Dalesio, Leo `Bob`
- Next:
Re: data access structures, strings Marty Kraimer
- Index:
2002
2003
2004
<2005>
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: data access structures, strings Jeff Hill
- Next:
RE: data access structures, strings Jeff Hill
- Index:
2002
2003
2004
<2005>
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|