On 28-7-2012 1:03, Daniel Gaspary wrote:
> On Fri, Jul 27, 2012 at 5:39 PM, Dimitrios Chr. Ioannidis
> wrote:
>> Hi all,
>>
>> first let me express my apologies for the off topic question.
>>
>> I'm having trouble to choose the correct gpl lisence for a new open
>> source project that i'm star
I am enumerating thru large numbers of files on my disk, and find I cant
come close with findfirst / findnext to matching the speed of cmd line
apps available in linux :eg ls / du
I have a fairly tight file search function, and dont see how to gain
more speed
Would anybody know what the limi
On Sat, 28 Jul 2012, SteveG wrote:
I am enumerating thru large numbers of files on my disk, and find I cant come
close with findfirst / findnext to matching the speed of cmd line apps
available in linux :eg ls / du
A regular ls only does a getdents() call.
FindFirst/FindNext does a getdent
On 28/07/12 19:58, Michael Van Canneyt wrote:
On Sat, 28 Jul 2012, SteveG wrote:
I am enumerating thru large numbers of files on my disk, and find I
cant come close with findfirst / findnext to matching the speed of
cmd line apps available in linux :eg ls / du
A regular ls only does a getd
> does the operating system keep an index somewhere ?
ls doesn't, find does AFAIK.
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/File-Enumeration-speed-tp5710462p5710465.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
___
On Sat, Jul 28, 2012 at 9:07 AM, leledumbo wrote:
>> does the operating system keep an index somewhere ?
>
> ls doesn't, find does AFAIK.
>
"find" doesn't have any index over "ls". You may be thinking of
"locate" (actually "located") that keeps a textfile with the list of
files.
Best regards,
Fl
Mark Morgan Lloyd wrote:
I know that this was discussed a couple of months ago, but I had
difficulty working out what the consensus was.
i)Is there an FPC function which will get the raw time from the RTC,
which on unix systems will usually be UTC (specifically, without a DST
correction)?
In our previous episode, Michael Van Canneyt said:
> lgetxattr("/etc/odbc.ini", "security.selinux", 0x14de920, 255) = -1 ENODATA
> (No data available)
> getxattr("/etc/odbc.ini", "system.posix_acl_access", 0x0, 0) = -1 EOPNOTSUPP
> (Operation not supported)
>
> If you want speedier operation, an