Jeong YunWon
|
39856bc500
|
PyTuple::_new to hide it from public api
|
2020-09-26 03:08:22 +09:00 |
|
Jeong YunWon
|
07f898e4f0
|
tuple internal to Box<[PyObjectRef]>
it will use 16bytes instead of 24bytes
|
2020-09-26 03:02:47 +09:00 |
|
Jeong YunWon
|
9188ff6e95
|
PyTuple add/mul reuse arguments
|
2020-09-26 03:01:17 +09:00 |
|
Jeong YunWon
|
3ff89762ec
|
Remove typecheck from objsequence::get_item
|
2020-09-26 03:01:15 +09:00 |
|
Jeong YunWon
|
98c70d8753
|
Repalce downcast with from_obj_unchecked for PyContext:::new_*
|
2020-09-26 02:59:34 +09:00 |
|
Jeong YunWon
|
5c81e7b044
|
Reuse empty tuple singleton
|
2020-09-26 02:59:33 +09:00 |
|
Noah
|
fb23b02bf9
|
Merge pull request #2234 from RustPython/coolreader18/dict-optimization
Make dict repr more efficient (50% faster!)
|
2020-09-25 12:47:54 -05:00 |
|
Jeong YunWon
|
d1e111d963
|
Merge pull request #2215 from youknowone/rename-str-types
Rename str types
|
2020-09-26 01:55:30 +09:00 |
|
Jeong YunWon
|
651799cefc
|
PyCommonString -> AnyStr
|
2020-09-26 00:25:13 +09:00 |
|
Jeong YunWon
|
f81ad04ce3
|
PyString -> PyStr
|
2020-09-26 00:20:02 +09:00 |
|
Noah
|
131736eecf
|
Make setdefault atomic
|
2020-09-24 23:51:33 -05:00 |
|
Noah
|
b835321664
|
Don't grow dict size as quickly
|
2020-09-24 23:21:43 -05:00 |
|
Noah
|
7c2856d449
|
Make dict repr more efficient
|
2020-09-24 22:26:31 -05:00 |
|
Jeong YunWon
|
c5011038e0
|
Merge pull request #2233 from youknowone/iomodule
_io uses pymodule
|
2020-09-25 11:55:52 +09:00 |
|
Jeong YunWon
|
c9a890dd4f
|
_io uses #[pyimpl(with(PyRef))]
|
2020-09-25 02:50:15 +09:00 |
|
Jeong YunWon
|
1f309322d7
|
Allow #[pyimpl(with(PyRef))]
|
2020-09-25 02:46:07 +09:00 |
|
Jeong YunWon
|
1a168b9803
|
class pyattr for _io._IOBase
|
2020-09-25 02:28:07 +09:00 |
|
Jeong YunWon
|
f29c158748
|
pyattr for pyclass
|
2020-09-25 02:27:54 +09:00 |
|
Jeong YunWon
|
874b5e5568
|
iter_use_idents for ident traversal
|
2020-09-25 02:12:12 +09:00 |
|
Jeong YunWon
|
bf1d3bb719
|
_io uses pymodule
|
2020-09-25 01:41:40 +09:00 |
|
Jeong YunWon
|
01e974eadc
|
Merge pull request #2231 from youknowone/slot2
slot optimization 2
|
2020-09-24 22:20:27 +09:00 |
|
Jeong YunWon
|
bebfa4b4f1
|
tp_cmp always exists
|
2020-09-24 07:50:11 +09:00 |
|
Jeong YunWon
|
c76126f951
|
tp_cmp optimization
|
2020-09-24 07:50:11 +09:00 |
|
Jeong YunWon
|
991b968294
|
tp_call prevent clone
|
2020-09-24 07:50:11 +09:00 |
|
Jeong YunWon
|
d9b1ae296b
|
tp_del
|
2020-09-24 07:50:11 +09:00 |
|
Jeong YunWon
|
9e71cb3bcc
|
Merge pull request #2223 from youknowone/call
slot optimization to skip attributes dict lookup
|
2020-09-24 07:48:56 +09:00 |
|
Jeong YunWon
|
e1462e12a1
|
no clone for slot hash
|
2020-09-24 05:33:38 +09:00 |
|
Jeong YunWon
|
1cf5eea856
|
update_slot placed in PyClassRef
|
2020-09-24 05:04:21 +09:00 |
|
Noah
|
1263904d30
|
Merge pull request #2228 from RustPython/coolreader18/common-borrowvalue
Move BorrowValue to rustpython-common, add BorrowedValue enum
|
2020-09-23 13:31:54 -05:00 |
|
Jeong YunWon
|
09ebd19857
|
optimize tp_hash
|
2020-09-24 01:55:05 +09:00 |
|
Jeong YunWon
|
5e69141884
|
slot call use trait function as its signature
|
2020-09-24 01:50:43 +09:00 |
|
Jeong YunWon
|
6f230ff7d7
|
optimize descr_get
|
2020-09-24 01:42:28 +09:00 |
|
Jeong YunWon
|
d59f9c3c4e
|
tp_call optimization
|
2020-09-24 01:40:53 +09:00 |
|
Jeong YunWon
|
7582c9f891
|
Unhashable trait
|
2020-09-24 01:39:46 +09:00 |
|
Noah
|
6188911703
|
Merge pull request #2207 from RustPython/coolreader18/cmp-trait
Add a tp_cmp slot for richcompare
|
2020-09-22 16:46:15 -05:00 |
|
Jeong YunWon
|
6c740c1bf9
|
Merge pull request #2224 from youknowone/slot-type
impl SlotCall for PyClass, PyFunction, JsonScanner
|
2020-09-22 08:28:51 +09:00 |
|
Noah
|
aeb48ddbac
|
Merge pull request #2222 from youknowone/dis
Fix dis.dis to prints inner constant codes like CPython
|
2020-09-21 17:52:40 -05:00 |
|
Jeong YunWon
|
f396a9e8be
|
JsonScanner SlotCall
|
2020-09-22 07:52:27 +09:00 |
|
Jeong YunWon
|
81f4f95b91
|
impl SlotCall for PyClass
|
2020-09-22 07:03:03 +09:00 |
|
Noah
|
8bf3a19df8
|
Merge pull request #2227 from RustPython/coolreader18/func-creation
Rework native function creation a bit to give more functions __name__s
|
2020-09-21 16:44:46 -05:00 |
|
Noah
|
9f0f08b597
|
Move BorrowValue to rustpython-common, add BorrowedValue enum
|
2020-09-21 13:18:32 -05:00 |
|
Noah
|
3adc755321
|
Use fixed result-like transpose method
|
2020-09-21 11:22:44 -05:00 |
|
Noah
|
8bf197cd81
|
Optimize eval_ord
|
2020-09-21 10:55:16 -05:00 |
|
Noah
|
6095557fb8
|
Fix dict+set tests
|
2020-09-21 10:55:15 -05:00 |
|
Noah
|
2f03db9872
|
Fix some silly errors
|
2020-09-21 10:55:15 -05:00 |
|
Noah
|
fc456ac526
|
Finish rest of Comparable impls
|
2020-09-21 10:55:15 -05:00 |
|
Noah
|
a5ec8dd75d
|
WIP switch to Comparable over __eq__ methods
|
2020-09-21 10:55:15 -05:00 |
|
Noah
|
981e9e9200
|
Add a cmp slot & trait
|
2020-09-21 10:55:15 -05:00 |
|
Noah
|
abcd929280
|
Make signal->_signal
|
2020-09-21 10:54:13 -05:00 |
|
Noah
|
2dcfd19750
|
Add signal.py from CPython 3.8.3
|
2020-09-21 10:41:58 -05:00 |
|