GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Use shared helper function for faster index range checks · Issue #120176 · python/cpython Closed as not planned Description#9784 (discussed in #72583 and #67741) introduced a helper function to reduce the number of comparisons in list index range checks (see https://godbolt.org/z/jM8oexT1d). The same pattern can be applied in many other places in the code base like in I'd propose to extract this helper function into a header and start using it in more places for index range checks. I'm happy to make a PR if people think a micro optimisation like this justifies the code churn, but let me know if I'm missing something. Linked PRsActivity
MetadataMetadataAssigneesLabelsNo labels ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |