%% "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

Reply via email to