I see, In that case, could we add a new text function that would work like filter-out, but simply faster? We could call it comm. The reason is quite simple, when strings become overwhelming, it is impossible to pass them to a shell script because of command line size limit. Therefore, they are not easy alternative to get the functionnality of filter-out at a reasonable speed.
Daniel Shane -----Original Message----- From: Paul Smith [mailto:[EMAIL PROTECTED] Behalf Of Paul D. Smith Sent: Friday, January 30, 2004 12:53 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: filter-out, very slow? %% "Daniel Shane" <[EMAIL PROTECTED]> writes: ds> I'm using the filter out function on some very big strings and ds> found out that the filter-out is much slower than comm (shell ds> command). Would it be hard to change the filter-out function so ds> that it accepts already sorted inputs? ds> For users, that means that instead of ds> $(filter-out $(str1), $(str2)) ds> it woudl become ds> $(filter-out ($sort $(str1)), ($sort $(str2))) This is not backward-compatible: many people rely on filter-out returning words in the relative order they had in $(str2). -- ---------------------------------------------------------------------------- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make