On Sat, 8 Jan 2005 10:44:15 +1300, Adam Cameron <[EMAIL PROTECTED]> wrote: > Given it seems to be part of the processing of a file upload, do you think > the performance difference between listLast() and right() really going to > be a significant factor in the whole process?
No, and I'm always the first to point out that optimizing without profiling is bad practice. However, a lot of CFers don't realize that list operations are inherently pretty slow so suggesting right() instead of listLast() was meant to be more of a general poke - especially since, in my opinion, listLast() is just plain inappropriate here: a filename is a string, not a list. -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 5 invites to give away! "If you're not annoying somebody, you're not really alive." -- Margaret Atwood --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
