Menu

#1 Speed up grep of lay files in runPartitions.sh

Unstable_(example)
closed
None
5
2015-02-03
2012-10-09
eernst
No

Only looking for at least one occurrence of "{LAY", so no need to keep searching after finding it. This can be expensive for large layout files, especially with many processes accessing the same volume. grep -c counts matching lines.

Discussion

  • eernst

    eernst - 2012-10-09

    Avoid long grep of layout files in generated runPartitions.sh scripts

     
  • Brian Walenz

    Brian Walenz - 2015-02-03

    Thanks, nice optimization. Probably would have been better to send to the mailing list. I'm not sure if anyone noticed this until now.

     
  • Brian Walenz

    Brian Walenz - 2015-02-03
    • status: open --> closed
    • assigned_to: Sergey Koren
    • Group: --> Unstable_(example)
     

Log in to post a comment.