Boost logo

Boost :

Subject: Re: [boost] [boost::endian] Request for comments/interest
From: Jonathan Franklin (franklin.jonathan_at_[hidden])
Date: 2010-06-03 13:24:00


On Thu, Jun 3, 2010 at 11:01 AM, Terry Golubiewski <tjgolubi_at_[hidden]> wrote:
> Please submit something more absolute and interesting.  I'd like to see it.

I'm busy at work today. But you can just grab the time in
microseconds prior to starting the endian operations, and again when
it's done. Print out t2-t1.

The reason this is important: If it takes 1 second for my code to run,
and yours takes 2 seconds, but we add 10 minutes to the total time,
then it looks like our code performs equally well. In reality, mine
was twice as fast for the operations in question.

Jon


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk