FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
GH-101291: Rearrange the size bits in PyLongObject by markshannon · Pull Request #102464 · python/cpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.3k
Star
74.9k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
GH-101291: Rearrange the size bits in PyLongObject
- #102464
#102464
Merged
markshannon
merged 37 commits into
python:main
python/cpython:main
from
faster-cpython:long-rearrange-size-bits
faster-cpython/cpython:long-rearrange-size-bits
Copy head branch name to clipboard
Mar 22, 2023
Conversation
Commits
37
(37)
Checks
Files changed
Merged
GH-101291: Rearrange the size bits in PyLongObject
#102464
markshannon
merged 37 commits into
python:main
python/cpython:main
from
faster-cpython:long-rearrange-size-bits
faster-cpython/cpython:long-rearrange-size-bits
Copy head branch name to clipboard
Commits
Commits on Feb 28, 2023
Add functions to hide some internals of long object.
markshannon
committed
0ec07e4
View commit details
Copy full SHA for 0ec07e4
Browse repository at this point
Add internal functions to longobject.c for setting sign and digit count.
markshannon
committed
292b9d0
View commit details
Copy full SHA for 292b9d0
Browse repository at this point
Replace Py_SIZE(x) < 0 with _PyLong_IsNegative(x) in longobject.c
markshannon
committed
5c54894
View commit details
Copy full SHA for 5c54894
Browse repository at this point
Replace Py_ABS(Py_SIZE(a)) with _PyLong_DigitCount(a) in longobject.c
markshannon
committed
029aaa4
View commit details
Copy full SHA for 029aaa4
Browse repository at this point
Remove many uses of Py_SIZE in longobject.c
markshannon
committed
b56e6da
View commit details
Copy full SHA for b56e6da
Browse repository at this point
Remove _PyLong_AssignValue, as it is no longer used.
markshannon
committed
91269fc
View commit details
Copy full SHA for 91269fc
Browse repository at this point
Remove some more uses of Py_SIZE in longobject.c.
markshannon
committed
c48e825
View commit details
Copy full SHA for c48e825
Browse repository at this point
Commits on Mar 1, 2023
Remove a few more uses of Py_SIZE in longobject.c.
markshannon
committed
449c0e2
View commit details
Copy full SHA for 449c0e2
Browse repository at this point
Remove some more uses of Py_SIZE, replacing with _PyLong_UnsignedDigitCount().
markshannon
committed
c5ba601
View commit details
Copy full SHA for c5ba601
Browse repository at this point
Replace a few Py_SIZE() with _PyLong_SameSign().
markshannon
committed
4b3a3e8
View commit details
Copy full SHA for 4b3a3e8
Browse repository at this point
Remove a few more Py_SIZE() from longobject.c
markshannon
committed
9ef9d2c
View commit details
Copy full SHA for 9ef9d2c
Browse repository at this point
Replace uses of IS_MEDIUM_VALUE macro with _PyLong_IsSingleDigit.
markshannon
committed
9c408c1
View commit details
Copy full SHA for 9c408c1
Browse repository at this point
Remove most of the remaining uses of Py_SIZE in longobject.c
markshannon
committed
548d656
View commit details
Copy full SHA for 548d656
Browse repository at this point
Replace last remaining uses of Py_SIZE applied to longobject with _PyLong_SignedDigitCount which might not be optimal, but is safe.
markshannon
committed
3e3fefd
View commit details
Copy full SHA for 3e3fefd
Browse repository at this point
Don't use _PyObject_InitVar and move a couple of inline functions to header file.
markshannon
committed
391fb51
View commit details
Copy full SHA for 391fb51
Browse repository at this point
Correct name of inline function.
markshannon
committed
df8c7d3
View commit details
Copy full SHA for df8c7d3
Browse repository at this point
Eliminate all remaining uses of Py_SIZE and Py_SET_SIZE on PyLongObject.
markshannon
committed
bc14fa6
View commit details
Copy full SHA for bc14fa6
Browse repository at this point
Commits on Mar 2, 2023
Change layout of size/sign bits in longobject to support future addition of immortal ints and tagged medium ints.
markshannon
committed
54c6f1b
View commit details
Copy full SHA for 54c6f1b
Browse repository at this point
Test pairs of longs together on fast path of add/mul/sub.
markshannon
committed
ce6bfb2
View commit details
Copy full SHA for ce6bfb2
Browse repository at this point
Commits on Mar 6, 2023
Tidy up comment and delete commented out code.
markshannon
committed
4c1956b
View commit details
Copy full SHA for 4c1956b
Browse repository at this point
Add news.
markshannon
committed
301158b
View commit details
Copy full SHA for 301158b
Browse repository at this point
Remove debugging asserts.
markshannon
committed
1aa1891
View commit details
Copy full SHA for 1aa1891
Browse repository at this point
Fix storage classes.
markshannon
committed
bf2a9af
View commit details
Copy full SHA for bf2a9af
Browse repository at this point
Remove development debug functions.
markshannon
committed
169f521
View commit details
Copy full SHA for 169f521
Browse repository at this point
Commits on Mar 8, 2023
Avoid casting to smaller int.
markshannon
committed
90f9072
View commit details
Copy full SHA for 90f9072
Browse repository at this point
Apply suggestions from code review.
markshannon
committed
f143443
View commit details
Copy full SHA for f143443
Browse repository at this point
Widen types to avoid data loss.
markshannon
committed
a0d661e
View commit details
Copy full SHA for a0d661e
Browse repository at this point
Fix syntax error.
markshannon
committed
145a2e4
View commit details
Copy full SHA for 145a2e4
Browse repository at this point
Commits on Mar 9, 2023
Replace 'SingleDigit' with 'Compact' as the term 'single digit' seems to provoke endless discussion on digit size, which is irrelevant to this API.
markshannon
committed
638a98f
View commit details
Copy full SHA for 638a98f
Browse repository at this point
Commits on Mar 16, 2023
Address review comments.
markshannon
committed
7f5acc0
View commit details
Copy full SHA for 7f5acc0
Browse repository at this point
Merge branch 'main' into long-rearrange-size-bits
markshannon
committed
b06bb6f
View commit details
Copy full SHA for b06bb6f
Browse repository at this point
Merge branch 'main' into long-rearrange-size-bits
markshannon
committed
a19b0a7
View commit details
Copy full SHA for a19b0a7
Browse repository at this point
Fix _PyLong_Sign
markshannon
committed
87f49b2
View commit details
Copy full SHA for 87f49b2
Browse repository at this point
Replace _PyLong_Sign(x) < 0 with _PyLong_IsNegative(x).
markshannon
committed
f764aa8
View commit details
Copy full SHA for f764aa8
Browse repository at this point
fix sign check
markshannon
committed
9843ac0
View commit details
Copy full SHA for 9843ac0
Browse repository at this point
Commits on Mar 22, 2023
Address some review comments.
markshannon
committed
d6cb917
View commit details
Copy full SHA for d6cb917
Browse repository at this point
Change asserts on digit counts to asserts on sign where applicable.
markshannon
committed
469d26f
View commit details
Copy full SHA for 469d26f
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL