taskGNU Astronomy Utilities - Tasks: task #16510, makeplugin_text_prev_batch_in_list...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #16510: makeplugin_text_prev_batch_in_list optimization

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Fri 01 Mar 2024 12:23:34 PM UTC
   
 
Should Start On:  Thu 29 Feb 2024 11:00:00 PM UTC Should be Finished on:  Thu 29 Feb 2024 11:00:00 PM UTC
Category:  Makefile extensions Priority:  5 - Normal
Item Group:  Enhancement Status:  Done
Privacy:  Public Assigned to:  makhlaghi
Percent Complete:  100% Open/Closed:  Closed
Effort:  0.00

Sat 13 Apr 2024 05:29:15 PM UTC, comment #1: 

This task has been completed as part of Commit 45d4e2a3f.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Fri 01 Mar 2024 12:23:34 PM UTC, original submission:  

Currently Gnuastro's 'ast-text-prev-batch-in-list' GNU Make extension reads the full list of inputs as a separate linked list of strings, then parses that list!

This process and all the extra allocations have a significant affect on the run-time of Makefiles that use it for a very large (thousands) of names.

We should modify this function to be less CPU consuming: for example to directly use C's 'strtok' and save the previous tokens in a separate array at the same time that it is read: therefore not having to make a linked list, not having to go all the way to the end every time, or having to re-parse the list.

Mohammad Akhlaghi <makhlaghi>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-05-04 makhlaghi Open/ClosedOpen Closed
    2024-04-13 makhlaghi StatusNone Done
        Assigned toNone makhlaghi
        Percent Complete0% 100%

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code