Article View: comp.std.c++
Article #1308Re: Zero-length structures and pointer comparisons
From: Stuart MacMartin
Date: Fri, 18 Dec 1992 20:25
Date: Fri, 18 Dec 1992 20:25
17 lines
1492 bytes
1492 bytes
In article <1992Dec17.230520.13836@microsoft.com> jimad@microsoft.com (Jim Adcock) writes: >Granted that an inverse mapping can >give you the obid from the pointer, its just that such would typically >be very slow compared to the address comparisons you expect. Slower >than using surrogates for example. So why not use surrogates? Not to mention the fact that some of us feel that the object id should be private information of the OODBMS. I would not like a specification that effectively required the oid to escape into the application. If I were an OODBMS developer, I might then be tempted to have 2 oids per object, one for references and the other for ordering. Stuart -- : Stuart MacMartin email: sjm@bnr.ca : : Bell-Northern Research phone: (613) 763-5625 : : PO Box 3511, Stn C, Ottawa, K1Y-4H7, CANADA Standard disclaimers apply. :
Technical Details
Message-ID:
<1992Dec18.202535.2393@bcrka451.bnr.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!nott!bnrgate!bcrka451!bcrki65!sjmReferences:
<1992Dec14.225659.24225@microsoft.com> <9235215.11144@mulga.cs.mu.OZ.AU> <1992Dec17.230520.13836@microsoft.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c++ Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!nott!bnrgate!bcrka451!bcrki65!sjm From: sjm@bcrki65.bnr.ca (Stuart MacMartin) Subject: Re: Zero-length structures and pointer comparisons Message-ID: <1992Dec18.202535.2393@bcrka451.bnr.ca> Sender: 5E00 Corkstown News Server Organization: Bell-Northern Research Ltd., Ottawa, Canada References: <1992Dec14.225659.24225@microsoft.com> <9235215.11144@mulga.cs.mu.OZ.AU> <1992Dec17.230520.13836@microsoft.com> Date: Fri, 18 Dec 1992 20:25:35 GMT Lines: 17