Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Q: Performance for public vs protected data in C++ (OT)

Author: Jeremiah Penery

Date: 21:54:56 10/17/02

Go up one level in this thread


On October 18, 2002 at 00:50:22, Nagendra Singh Tomar wrote:

>I hope this is in connection to some chess software :-)
>
>Anyway, I don;t see any reason for that .. Compiler checks the access rights at
>the time of compilation to see any illegal accesses. Once the code is compiled
>there is no difference between private/public/protected

I think the issue is whether the compiler can do more optimizations to
private/protected stuff than to public stuff, or vice versa.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.