ZTree.com  | ZEN  | About...  

 Index   Back

[Wish] Alt-S(ort) Listing   [Wish]

By: Juergen Hestermann       
Date: Feb 26,2013 at 12:45
In Response to: [Wish] Alt-S(ort) Listing (Liviu)

> Basically, what I was suggesting is an option to allow "Filespec and
> Alt-Sort to operate on the result of a rename mask (instead of actual
> filenames)". For example, sorting on a rename mask of "///*.*" would
> in fact sort by names starting with the 4th character.

If I understand this right I would expect a large performance hit. Each file name would have to be stored twice (original and renamed version) and then the mask has to be applied to the renamed version. Then these renamed versions have to be taken for sorting. This would not only be a huge decrease in speed but would also require additional memory and a significant coding effort.

A simple offset would just move the character pointer before comparing. No need to duplicate the name string nor to modify it.


Jürgen.

1,093 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 44 users online (0 registered, 44 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 6:15 pm UTC  |  Hits:62,375,813  (28,210 Today )
RSS Feed