This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Optimzed vs. readable code


On 11/30/05, caj@cs.york.ac.uk <caj@cs.york.ac.uk> wrote:
> that you may as well just add a comment saying "We use the first iterator
> to keep the current position".

Now that's a good idea.

Thierry, feel free to suggest patches that add comments explaining
what the code is doing.  If the comments are accurate I presume you'd
get no opposition from the library maintainers.  The libstdc++ code
certainly could be better commented in some places.

jon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]