[issue26315] Optimize mod division for ints

2016-02-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 37bacf3fa1f5 by Yury Selivanov in branch 'default': Issues #26289 and #26315: Optimize floor/modulo div for single-digit longs https://hg.python.org/cpython/rev/37bacf3fa1f5 -- nosy: +python-dev ___ Pytho

[issue26315] Optimize mod division for ints

2016-02-11 Thread Yury Selivanov
Changes by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue26315] Optimize mod division for ints

2016-02-10 Thread STINNER Victor
STINNER Victor added the comment: Is this patch is a subset of issue #26289 patch? -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue26315] Optimize mod division for ints

2016-02-09 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue26315] Optimize mod division for ints

2016-02-08 Thread STINNER Victor
STINNER Victor added the comment: See also issue #21955. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue26315] Optimize mod division for ints

2016-02-08 Thread Yury Selivanov
New submission from Yury Selivanov: The attached patch implements fast path for modulo division of single digit longs. Some timeit micro-benchmarks: -m timeit -s "x=22331" "x%2;x%3;x%4;x%5;x%6;x%7;x%8;x%99;x%100;" with patch: 0.213 usec without patch: 0.602 usec -- assignee: yselivan