libcvd-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libcvd-members] SubImages no longer need to be distinct from BasicI


From: E. Rosten
Subject: Re: [libcvd-members] SubImages no longer need to be distinct from BasicImages.
Date: Wed, 29 Oct 2008 15:41:51 +0000 (GMT)

On Wed, 29 Oct 2008, Georg Klein wrote:

gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)

forloop 8.26731  (494985830000)
imageref 9.94063  (494985830000)
basicimage_iterator 6.41841  (494985830000)
subimage_iterator 8.32609  (494985830000)
subimage_iterator_fastend 8.35848  (494985830000)
subimage_iterator_stl 8.34101  (494985830000)
basicimage_iterator_stl 6.43227  (494985830000)

Reducing image size to 20x20 & boosting iterations:
forloop 3.21801  (197090000000)
imageref 4.22899  (197090000000)
basicimage_iterator 2.28253  (197090000000)
subimage_iterator 3.39948  (197090000000)
subimage_iterator_fastend 4.62725  (197090000000)
subimage_iterator_stl 4.89984  (197090000000)
basicimage_iterator_stl 2.2789  (197090000000)




Same CPU, gcc 4.2, -O3 on a 20x20 image with 10000000 iterations:

forloop 4.1284  (197090000000)
imageref 7.90586  (197090000000)
basicimage_iterator 2.7197  (197090000000)
subimage_iterator 6.30506  (197090000000)
subimage_iterator_fastend 6.85669  (197090000000)
subimage_iterator_stl 6.26535  (197090000000)
basicimage_iterator_stl 2.71647  (197090000000)


Maybe they do still need to be distinct.

-Ed

--
(You can't go wrong with psycho-rats.)(http://mi.eng.cam.ac.uk/~er258)

/d{def}def/f{/Times s selectfont}d/s{11}d/r{roll}d f 2/m{moveto}d -1
r 230 350 m 0 1 179{ 1 index show 88 rotate 4 mul 0 rmoveto}for/s 12
    d f pop 235 420 translate 0 0 moveto 1 2 scale show showpage




reply via email to

[Prev in Thread] Current Thread [Next in Thread]