Commit Graph

10833 Commits

Author SHA1 Message Date
Jeong Yunwon
00a1af9e15 Remove Constant::make_name 2022-05-16 05:00:34 +09:00
Jeong Yunwon
b2c9b3ce90 Remove Constant::map_constant 2022-05-16 04:50:54 +09:00
Jeong Yunwon
abe644bd72 remove make_constant_borrowed 2022-05-16 04:46:37 +09:00
Jeong Yunwon
ec7a709bf2 Remove Constant::into_data 2022-05-16 04:46:35 +09:00
Jeong Yunwon
f6218bb9e5 No generic FrozenModule. Map names lazy 2022-05-16 04:45:14 +09:00
Jeong Yunwon
93d1438345 PyObjBag refers Context instead of vm 2022-05-16 04:45:13 +09:00
Jeong YunWon
95cd2f926b Merge pull request #3703 from killme2008/feat/issue-3702
PyStr::mul optimization for i=0 or str=''
2022-05-15 16:15:45 +09:00
Dennis Zhuang
7cb391e140 Repalce all PyStr::from().into_ref(vm) with vm.ctx.empty_str 2022-05-14 21:45:55 +08:00
Dennis Zhuang
eba6833096 PyStr::mul optimization for i=0 or str='' 2022-05-14 21:38:23 +08:00
Jeong YunWon
b5b07385a7 Merge pull request #3699 from youknowone/slot-del-cold
call_slot_del is cold
2022-05-12 18:38:20 +09:00
Jeong YunWon
543360da57 Merge pull request #3698 from youknowone/cmp
Improve comparison ops performance
2022-05-12 18:36:02 +09:00
Noa
cb86d357c4 Merge pull request #3697 from youknowone/drain
drain with open range
2022-05-12 02:12:56 -05:00
Jeong Yunwon
e76d79e725 call_slot_del is cold 2022-05-12 04:39:07 +09:00
Jeong Yunwon
40bc8f0016 move microbenchmark strings.py to proper directory 2022-05-12 04:21:40 +09:00
Jeong Yunwon
436f984950 clean up PyComparisonOp::map_eq 2022-05-12 04:21:40 +09:00
Jeong Yunwon
3b9721c326 Add microbenchmarks/cmp.py 2022-05-12 04:21:40 +09:00
Jeong Yunwon
7df0acd6b6 share comparisonop between bytecode and vm 2022-05-12 04:02:14 +09:00
Jeong Yunwon
53d835faa7 split comapre and richcompare instruction 2022-05-12 04:02:14 +09:00
Jeong Yunwon
1fa1a7c5c5 drain with open range 2022-05-12 03:02:58 +09:00
Jeong Yunwon
39e3f8faff Add document for wasi 2022-05-08 15:24:58 +09:00
djrmarques
996250d959 Added self and self_class to super (#3691) 2022-05-08 04:19:38 +09:00
Jeong YunWon
23bb966626 Merge pull request #3689 from coolreader18/lalrpop-from-build
Try to invoke lalrpop from parser build script
2022-05-07 20:32:28 +09:00
Jeong YunWon
fbf45e1fb5 Merge pull request #3690 from youknowone/clippy
fix clippy warnings
2022-05-07 20:26:58 +09:00
Jeong Yunwon
c9f1f61bae fix clippy warnings 2022-05-07 20:00:57 +09:00
Noa
2b0798a8b2 Try to invoke lalrpop from parser build script 2022-05-05 13:59:46 -05:00
Jeong YunWon
2ba1d93550 Merge pull request #3686 from fanninpm/fcntl-flock-lockf
Add flock and lockf to fcntl module
2022-05-04 14:43:37 +09:00
rebunto
392a9476a7 Changed pyclass name of PyArray and PyArrayIter #3612 2022-05-04 14:08:34 +09:00
Jeong YunWon
01eff92196 Merge pull request #3688 from youknowone/int
Int cleanup
2022-05-04 09:44:07 +09:00
Padraic Fanning
36ab937e53 Avoid unused import error on wasi and redox 2022-05-03 20:14:55 -04:00
Jeong Yunwon
251ce4e68e ArgByteOrder 2022-05-04 08:29:15 +09:00
Jeong Yunwon
4d244f0d07 int.format error handling 2022-05-04 08:29:15 +09:00
Jeong Yunwon
a50ca743dc empty vm/functin/mod.rs 2022-05-04 08:29:15 +09:00
Jeong Yunwon
580bcb526f remove duplicated type check 2022-05-04 08:29:15 +09:00
Jeong Yunwon
283c97cda7 cut down modpow to keep fast path smaller 2022-05-04 08:29:15 +09:00
Jeong YunWon
c303127912 Merge pull request #3580 from hrchu/fix-test_long_test_huge_rshift
Fix test_long::test_huge_rshift
2022-05-04 08:28:11 +09:00
Jeong Yunwon
987d9b9a9b prevent duplicated code generation 2022-05-04 07:49:19 +09:00
hrchu
e50ee53095 Fix lshift overflow handling 2022-05-04 07:36:43 +09:00
hrchu
8f0e40f2b2 Fix test_long::test_huge_rshift 2022-05-04 07:35:44 +09:00
Padraic Fanning
46a0dea503 Exclude flock() from wasi/redox 2022-05-03 18:27:23 -04:00
Padraic Fanning
2c8588db2e Group imports together and cargo fmt 2022-05-03 18:25:00 -04:00
Padraic Fanning
188f82c009 Change reasons for expected failures in test_fcntl 2022-05-03 18:13:18 -04:00
Padraic Fanning
8d0ba74d12 Add flock and lockf to fcntl module 2022-05-03 18:08:48 -04:00
Jeong YunWon
4a6df6bb20 Merge pull request #3682 from youknowone/extra-test
Rename extra-tests with unified prefix form
2022-05-04 04:42:32 +09:00
Jeong Yunwon
459402d96d add stdlib test to yasi 2022-05-04 04:08:13 +09:00
Jeong Yunwon
ff85fc9257 rename extra_tests to prefix form 2022-05-04 02:54:59 +09:00
Jeong Yunwon
aca6043818 operator_div.py 2022-05-04 00:53:20 +09:00
Jeong Yunwon
ab6a3be51a rename extra_tests 2022-05-04 00:53:20 +09:00
Jeong Yunwon
487cd56391 rename extra_tests files 2022-05-04 00:53:20 +09:00
Jeong Yunwon
bf0daabbae split math_basics.py to proper files 2022-05-04 00:53:20 +09:00
Jeong Yunwon
d62ea37729 merge os_info.py to stdlib_os.py 2022-05-04 00:53:20 +09:00