code_junkie

What is your best/funniest/annoying performance tuning experience? [closed]

Nov 11th, 2011
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. nm: "The batch is broken"
  2. me: "What do you mean?"
  3. nm: "It stopped"
  4. me: "What's the last message?"
  5. nm: "Batch Processing Completed, total is $1234.56".
  6. me: "Is that total correct?"
  7. nm: "yes"
  8. me: "So, what's the problem?"
  9.  
  10. int i;
  11. struct { ... } a[...];
  12.  
  13. for (i = 0; i < n; i++){
  14. .. something involving a[i] ...
  15. }
  16.  
  17. if (node->text_end > strlen(doc->text))
  18. {
  19. throw InvalidStringRange(node->text_start, node->text_end, strlen(doc->text));
  20. }
  21.  
  22. sub branch { system("rcs branch...") }
Add Comment
Please, Sign In to add comment