[Kinosearch] Sort::External presort and postsort feature
perlprogrammer at shaw.ca
Fri Jul 22 04:08:03 PDT 2005
Thanks for the suggestions and examples. I'm going to work at trying them
out, but it may take a bit of work as I see a few problems. For example, I
don't see off the top of my head how to support case-sensitive and
case-insensitive sorting without loosing case during the decoding. I also
need to figure out how long to make each encoded block (pack'ed or
sprintf'ed) so as to ensure it is long enough to sort accurately and decode
without loss while not placing too great a burden on memory. This is an
issue since for my project as there is no way of knowing how many characters
a given field will contain.
I do have a question though. Won't the output to temp files of packed
strings require "binmode"ing the filehandles under Windows?
I'll post some thoughts, results soon.
>> Ken Clarke
>> Contract Web Programmer / E-commerce Technologist
Kinosearch mailing list
Kinosearch at rectangular.com
More information about the kinosearch