Mercurial > hg
comparison tests/test-notify-changegroup @ 8320:a1305c1c8d8e
inotify: inotify.server.walk() simplify algorithm
Do not yield (bool, tuple) in a subfunction and check later:
'if not bool: yield tuple'.
Instead simplify so the tuple doesnt get yielded on the first time, to avoid
systematic checks.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Mon, 04 May 2009 16:57:52 +0900 |
parents | b714aac1f7b3 |
children | ca6ede0988d5 |
comparison
equal
deleted
inserted
replaced
8319:1c5d93b225f7 | 8320:a1305c1c8d8e |
---|