Win10 C6 Directory() 8min 40 secs, C11 Directory() 31mins 47 seconds

Using logout/Commit to dump the Directory file queue into a tps file, there are lots of ways I’ve been trying this, like on a 100 second logout, and then if the commit code is encountered within 95 to 100 seconds, it automatically commits and things like that.

ie
Directory(File:Queue,Path,etc)
Counter = 0
Logout(100,TPSFile)
Loop Records(File:Queue) times
Counter +=1
Get(File:Queue,Counter)
TPSFile.Name = File:Queue.Name
Access:TPSFile.Insert
Commit

One thing I think is an overriding factor, is on XP theres a few thousand directories, on Win10 I have 160,000 subfolders, so I’m trying the
FindFirstFileA function (fileapi.h) - Win32 apps | Microsoft Learn
FindNextFileA function (fileapi.h) - Win32 apps | Microsoft Learn
api’s to see which is quicker, I dont know if the transacted api might be faster than the above or not, but I need to log all the files on various media, and hash their contents to spot when any changes occur.

I basically need to log every change that occurs on my PC’s to spot when stuff is being tampered with, like templates changed back to earlier versions and embed clw code changed, which is a form of resource burning me, a security services/military technique but also a criminal one. This is one of the reasons why I have been writing so many of my own templates, because a change in clw code can be explained as human error, templates that work in multiple apps, are harder to explain as human error where the template is used in multiple apps, and the generated clw code is different, highlighting the template may have been tampered with or the clw tampered with between the small window of opportunity that exists between generation and compilation.

A classic example of tampering with code which can alter the behaviour is this post

so if everything is being logged and hashed like using techniques similar to that seen in cryptocurrency to authenticate & log changes, it gets harder to insert backdoors as bugs. I know subversion is supposed to partly address this problem but its got its problems.