home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / std / cplus / 1857 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.4 KB  |  29 lines

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