FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-45340: Don't create object dictionaries unless actually needed by markshannon · Pull Request #28802 · python/cpython · GitHub

/ cpython Public
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8214006
Add insertion order bit-vector to dict values to allow dicts to share…
markshannon Sep 21, 2021
45c9814
Add NEWS
markshannon Sep 23, 2021
c3de09e
Never change types' cached keys. It could invalidate inline attribute…
markshannon Sep 23, 2021
58dd2a0
Lazily create object dictionaries. Work in progress.
markshannon Sep 23, 2021
769183a
Restore specialization for inline attributes.
markshannon Sep 30, 2021
1e6cd1f
Turn on stats
markshannon Sep 30, 2021
a8fbb34
Fix specialization of LOAD/STORE_ATTR.
markshannon Oct 1, 2021
37d8cc6
Turn off stats.
markshannon Oct 1, 2021
0e022f9
Don't update shared keys version for deletion of value.
markshannon Oct 4, 2021
ddd2e2c
Merge main into inline-attributes-with-opt
markshannon Oct 6, 2021
e979575
Fix refrence leak.
markshannon Oct 6, 2021
42361ad
Change 'InlineAttribute' to 'InstanceAttribute' as they are not inlin…
markshannon Oct 6, 2021
e9b09d5
Merge branch 'main' into inline-attributes-with-opt
markshannon Oct 6, 2021
70dc34f
Update gdb support to handle instance values.
markshannon Oct 7, 2021
022f2c5
Rename SPLIT_KEYS opcodes to INSTANCE_VALUE.
markshannon Oct 7, 2021
4ec5f11
Tidy test_gc
markshannon Oct 7, 2021
1818a5a
Don't lose errors.
markshannon Oct 7, 2021
bfc7be0
Make sure order is updated when deleting from values array.
markshannon Oct 7, 2021
62a3a59
Update test_dict.
markshannon Oct 7, 2021
7978220
Add NEWS
markshannon Oct 8, 2021
b25b1d9
Merge branch 'main' into inline-attributes-with-opt
markshannon Oct 12, 2021
7b2efa4
Merge branch 'main' into inline-attributes-with-opt
markshannon Oct 12, 2021
459e29e
Make sure that instance dicts are GC tracked when necessary.
markshannon Oct 12, 2021
83b90c5
Support older versions of Python in gdb.
markshannon Oct 12, 2021
8c894f3
Rename function and move to internal header.
markshannon Oct 12, 2021
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
Prev Previous commit
Next Next commit
Add NEWS
  • Loading branch information
markshannon committed Oct 8, 2021
commit 7978220d0a3fc0c08e917f3731cc14e2d1fd174c
This file contains hidden or 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Object attributes are held in an array instead of a dictionary. An object's
dictionary are created lazily, only when needed. Reduces the memory
consumption of a typical Python object by about 30%. Patch by Mark Shannon.

Back | FazBrowse Home | New Git URL