Andrey A. Chernov
542e13498f
Optimize prev. commit for speed.
...
1) Don't iterate the loop from the environment array beginning each time,
iterate it under the last place we deactivate instead.
2) Call __rebuild_environ() not on each iteration but once, only at the end
of whole loop (of course, only in case if something is changed).
MFC after: 1 week
2012-10-03 04:46:58 +00:00
..
2012-05-28 19:47:56 +00:00
2012-08-23 17:08:07 +00:00
2012-04-23 06:33:27 +00:00
2012-07-30 14:47:35 +00:00
2012-05-11 20:06:46 +00:00
2011-08-28 09:26:48 +00:00
2012-10-03 04:46:58 +00:00
2012-08-25 13:15:44 +00:00
2012-03-03 09:19:20 +00:00
2012-03-22 08:48:42 +00:00
2012-05-15 22:47:34 +00:00
2012-06-12 17:14:19 +00:00
2012-06-11 15:40:57 +00:00
2012-02-12 18:29:56 +00:00
2012-01-20 06:59:29 +00:00
2012-08-29 18:49:41 +00:00
2012-09-27 05:26:29 +00:00
2012-07-24 16:03:28 +00:00
2012-09-14 13:00:43 +00:00
2012-04-10 17:37:24 +00:00
2012-06-02 08:47:26 +00:00
2012-06-08 12:09:00 +00:00
2011-06-06 20:24:17 +00:00
2012-02-11 20:43:01 +00:00
2012-05-22 18:30:32 +00:00
2012-06-12 20:24:57 +00:00
2012-04-18 07:02:53 +00:00
2012-09-10 08:16:45 +00:00
2011-07-11 14:15:27 +00:00
2012-09-11 22:38:33 +00:00
2012-04-28 02:48:51 +00:00
2012-02-25 14:31:25 +00:00
2011-10-07 15:05:24 +00:00
2012-05-17 10:11:18 +00:00
2012-06-01 03:59:08 +00:00
2012-01-09 00:48:19 +00:00
2012-09-28 12:29:25 +00:00
2012-05-14 05:12:56 +00:00
2012-09-06 19:24:48 +00:00
2012-09-07 02:38:07 +00:00
2012-09-04 05:51:50 +00:00
2012-05-11 20:06:46 +00:00
2012-06-06 08:07:47 +00:00
2012-02-07 09:27:07 +00:00
2012-03-26 19:12:09 +00:00
2011-08-28 09:26:48 +00:00
2011-05-17 19:20:32 +00:00
2011-10-16 08:45:16 +00:00
2012-02-28 18:30:18 +00:00
2012-09-24 05:24:10 +00:00
2012-04-28 21:50:30 +00:00
2012-01-05 21:36:12 +00:00
2012-05-11 20:06:46 +00:00
2012-04-06 00:03:45 +00:00
2012-08-27 03:09:39 +00:00
2012-02-28 18:30:18 +00:00
2011-12-08 12:31:47 +00:00
2012-04-19 15:28:15 +00:00
2012-08-13 18:10:52 +00:00
2012-09-20 18:56:27 +00:00
2012-09-12 11:41:03 +00:00
2012-02-25 14:31:25 +00:00
2012-02-07 09:27:07 +00:00
2012-06-21 21:47:08 +00:00
2012-09-29 16:40:12 +00:00
2012-08-15 20:02:54 +00:00