-
-
Save danlark1/a5ac4e4566c6acb23cd1c1806bdf91e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The search going up is known to be guarded but the search coming down isn't. | |
// Prime the downward search with a guard. | |
// __m still guards upward moving __i | |
while (__comp(*__i, *__m)) | |
++__i; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment