octave-patch-tracker
[Top][All Lists]
Advanced

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

[Octave-patch-tracker] [patch #10301] DIR - a suggestion for an enhancem


From: Hans
Subject: [Octave-patch-tracker] [patch #10301] DIR - a suggestion for an enhancement including recursion
Date: Fri, 16 Dec 2022 15:55:57 -0500 (EST)

URL:
  <https://savannah.gnu.org/patch/?10301>

                 Summary: DIR - a suggestion for an enhancement including
recursion
                 Project: GNU Octave
               Submitter: alzi123
               Submitted: Fri 16 Dec 2022 08:55:55 PM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 16 Dec 2022 08:55:55 PM UTC By: Hans <alzi123>
In the attached file you will find a suggestion for an enhancement for the
dir.m source code.

It is including recursive '**' behaviour and displays the filenames in a
actual way - if no return value is given.

Tried also to speed things up, by using a alternative datenum calculation.

== examples ==


a=dir('C:\'); a
a=dir('C:\*.sys'); a
a=dir('C:\*file*.sys'); a



a=dir('C:\Windows\System32\**\*.dll'); a    
ans => about 5000 files



tic; dir('C:\Windows\System32\**\*.dll'); toc
Elapsed time is 2.81726 seconds


discussion:
- please test on linux system







    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Fri 16 Dec 2022 08:55:55 PM UTC  Name: dir.m  Size: 7KiB   By: alzi123

<http://savannah.gnu.org/patch/download.php?file_id=54113>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?10301>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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