[Top][All Lists]

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

[gnuastro-devel] [bug #56259] Arithmetic: more time operating with int32

From: Raul Infante-Sainz
Subject: [gnuastro-devel] [bug #56259] Arithmetic: more time operating with int32 than float32
Date: Fri, 3 May 2019 03:02:59 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:66.0) Gecko/20100101 Firefox/66.0


                 Summary: Arithmetic: more time operating with int32 than
                 Project: GNU Astronomy Utilities
            Submitted by: infantesainz
            Submitted on: Fri 03 May 2019 07:02:57 AM UTC
                Category: Arithmetic
                Severity: 3 - Normal
              Item Group: Addition(s)
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



After some test in which very simple operation (subtraction of images) were
done, the results were that considering `int32' data type was more time
consumption than using `float32'.

For example:

astarithmetic im3.fits im4.fits float32 float32 -

finished in 0.111564. While 

astarithmetic im3.fits im4.fits int32 int32 -

finished in 0.120998.

Note that images are different names but the size is the same.
That difference in time makes no sense and this overhead along big projects
will cause a lot of extra time in processing data.


Reply to this item at:


  Message sent via Savannah

reply via email to

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