Jump to content

Recommended Posts

Posted

KaFu, may I ask why the regular _ArraySort() wasn't used? Was it really that slow that you needed assembly optimization for a directory sort? Or was it not sorting them as Windows does? We could probably solve both problems with a Unicode 'dir' command prompt/pipe method, which of course allows us to sort and filter out (or in) hidden folders and such.

I've looked at the rest of the code briefly, fixed the DLLStruct and DLLCall's, but yeah.. the code's a bit sloppy in its current state.. and wth is up with the O/S build checks... that can be shortened and of course other changes. Not sure if I'd want to dedicate too much time to this, but I'll ponder it as something to possibly do on the side, if you aren't going to touch it again.

Posted

Hi m8. I used _ArraySort() because it's really fast and I just did a search & replace on all occurrences of it in SMF. There's no reason why another method wouldn't work. In general I've only fixed some errors and I'm not planning to tinker on it in the next few weeks, espc. as I'm currently moving to a new flat with my girlfriend ;). It's kind of sloppy because that's my style :huh2: and in fact it was one of my earlier codings, a merger of two other UDFs, which just grew, I never did a thoroughly clean-up. If you want to ponder it in fact I'll be happy to see the results as I know there's room for looots of improvements, espc. from a pro like you :alien:. Nevertheless I would suggest that you take the v43 from the SMF source as a starting point, as I repaired some things and added some functionality in the meantime. Best Regards

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...