From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,955c0602964740f8 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 23 Oct 2005 07:33:03 -0500 From: "Steve" Newsgroups: comp.lang.ada References: <1129573392.886254.115610@g44g2000cwa.googlegroups.com> Subject: Re: Buffers or POs? Date: Sat, 22 Oct 2005 20:53:19 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original Message-ID: NNTP-Posting-Host: 24.20.111.245 X-Trace: sv3-ZycmgxfsVRZTEioD7FHhFBl+hggTGYT0NGE5kpyjQZ3mwix4AqyROlvN+yWYcVo/oZCKZJg9UjHODUG!N/LGJiDrqLHtIc6tfzEA1G6PepEdi0K7uIgeE/boO3547KP/SpsyKkYdJL7Cba8uUdHYzUPLBz/R X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:5898 Date: 2005-10-22T20:53:19-07:00 List-Id: "Tom" wrote in message news:1129573392.886254.115610@g44g2000cwa.googlegroups.com... >I have the problem that the OS provides services for buffers which are > similar to Protected Objects. What is better to use in terms of > performance the provided OS services or a self-implemented buffer > utilising Protected Objects. > There is no absolute way to answer this question. Ideally a compiler targeting such an OS will map protected objects to the most efficient implementation on that system. So... if the OS services are most efficient, the compiler will make use of them. In practice compilers tend to use techniques that permit re-use across platforms, so the efficiency on each individual target OS/archtecture may not be optimal. The only real way to know is to run tests. Steve (The Duck)