Re: which loop is faster
From: EventHelix.com (eventhelix_at_gmail.com)
Date: 01/03/05
- Next message: Neo: "Re: Showing problem"
- Previous message: Jens.Toerring_at_physik.fu-berlin.de: "Re: which loop is faster"
- In reply to: sushant: "which loop is faster"
- Next in thread: Neo: "Re: which loop is faster"
- Reply: Neo: "Re: which loop is faster"
- Reply: Jack Klein: "Re: which loop is faster"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 3 Jan 2005 04:11:39 -0800
It will really depend upon "some code".
If "some code" just fits into the cache but the outer loop doesn't:
(2) would be faster.
If the inner and the outer loop fit into the cache, I don't expect to
see
a large difference in performance.
Deepa
-- http://www.EventHelix.com/EventStudio EventStudio 2.5 - Automate sequence diagram generation
- Next message: Neo: "Re: Showing problem"
- Previous message: Jens.Toerring_at_physik.fu-berlin.de: "Re: which loop is faster"
- In reply to: sushant: "which loop is faster"
- Next in thread: Neo: "Re: which loop is faster"
- Reply: Neo: "Re: which loop is faster"
- Reply: Jack Klein: "Re: which loop is faster"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|