pikastech
153b31f4c2
add __pks_hook_arg_cache_filter
2022-10-13 19:33:09 +08:00
pikastech
018a3d579f
optimize speed for range
2022-10-13 01:24:58 +08:00
pikastech
3f9195f89d
optimize speed for obj_getObjDirect
...
optimize speed for arg_append
2022-10-09 13:40:56 +08:00
pikastech
f717e9f91d
arg cache rate up to 81.29%
2022-10-08 21:28:29 +08:00
pikastech
126a817d49
add cache for arg_alloc/free, cache for 6.56%
2022-10-08 18:06:43 +08:00
pikastech
5523710682
optimize speed
2022-10-06 14:40:09 +08:00
pikastech
c86fbdff41
optimize speed by gprof
2022-10-06 13:27:02 +08:00
pikastech
f5efb11a75
optimize speed for string funs
...
optimize str sppeed
add prof.sh
not -pg in default
2022-10-06 12:44:40 +08:00
pikastech
e0aae36a1a
reduce malloc
2022-10-05 20:36:00 +08:00
pikastech
060ac91f3d
reduce alloc for stack push/pop
2022-10-05 01:04:37 +08:00
pikastech
3ccba05acf
fix valgrind
2022-10-02 19:38:20 +08:00
pikastech
d8698d5cac
reduce ram usage of stack
2022-10-02 00:00:53 +08:00
pikastech
d63d50a322
use pika_float to support switch for float/double
...
update pre-comp
update pre-win
2022-09-28 11:54:10 +08:00
pikastech
27ebfb049f
support input None to object
2022-09-07 14:25:25 +08:00
pikastech
45c70ffe79
support __contains__ for dict
2022-09-05 15:39:15 +08:00
pikastech
b298e152e5
support __contain__
...
support __contains__ for list
2022-09-05 15:21:49 +08:00
pikastech
6257ab7f06
fix print sort
2022-09-04 21:19:41 +08:00
pikastech
d4a0b37958
support **keys in cmodule
...
support print('test', end='')
2022-09-02 00:33:50 +08:00
李昂
7d191fc2ea
!108 keys
...
* def foo(**keys) in py is ok
* __kwargs is ok
* gening dict
* fix arg->flag init faild
* supporting **keys
2022-08-30 16:40:04 +00:00
pikastech
2dd8b6979d
add get/set arg_serialized
...
add setIsKeyword
support keyword input
2022-08-30 12:25:57 +08:00
pikastech
f76e456ea0
add test, examples for re, fix some mem leak
2022-08-29 16:29:03 +08:00
pikastech
6726169ad9
serilized to api
...
use mask in arg for serilized
support isKeyword flag for arg
2022-08-28 19:25:03 +08:00
pikastech
7e15e5e202
support __add__()
for list
2022-08-16 17:40:11 +08:00
pikastech
d01ca77a51
support *var in py function
2022-08-16 12:21:11 +08:00
pikastech
7ca4a148d2
fix ac5 war
2022-08-05 14:07:57 +08:00
pikastech
941b3ad569
restore
2022-08-05 13:53:10 +08:00
pikastech
554ce93439
fixac5
2022-08-05 13:51:52 +08:00
pikastech
b47e2795d1
restore
2022-08-05 13:51:13 +08:00
pikastech
930389306a
fix ac5
2022-08-05 13:48:01 +08:00
pikastech
61d7cc0230
Merge branch 'ac5fix'
2022-08-05 13:43:33 +08:00
pikastech
488748f15d
fix ac5 warning
2022-08-05 13:39:11 +08:00
pikastech
0c0d89231c
avoid core dump when not ':' found
2022-08-05 11:18:54 +08:00
pikastech
178353e259
use statkc buff[] when load args
...
skip tuple to accelerate
add speed for return arg in <RUN> inst
2022-08-04 11:12:32 +08:00
pikastech
446bc562cd
accelerate for OUT ins
2022-08-01 10:06:49 +08:00
pikastech
56ec7c2410
more stack arg in VM
2022-07-31 19:48:35 +08:00
pikastech
6be2bc41b6
use pure_stack_arg
2022-07-31 17:18:29 +08:00
pikastech
e929bc67db
use more macro inline in arg.h
2022-07-31 15:22:53 +08:00
pikastech
a40f68e9b2
use more inline in PikaVM
...
use static refcnt in PikaObj
use static _clsptr
2022-07-30 21:26:46 +08:00
李昂
b463e812bf
!42 Support PikaCV, can read data from Jpeg and convert to rgb888/rgb565
...
* add pikaCV-test.cpp
* read(Image) and convert to RGB565 is tested ok
* transfer can return res, but not assert
* format tjpgd
* add test for PikaCV
* add assert for newContent
* restore assets
* restore PikaCV.pyi
* restore PikaCV
* restore uint16_t
* add jpeg_test.py
* move ADC, GPIO, RGB ... to Device
* add jd_decomp
* convert_JPEGtoREG888 is not ok
* connecting tjpegdec
* Converter.toRGB565() .toRGB888() .toGRay() eachother is ok
* support Gray
* add PikaCV_Image, PikaCV_ImageFormat
* add classes for PikaCV
* add PikaCV
2022-07-08 09:33:53 +00:00
Lyon
74050112e1
fit ac5
2022-07-01 23:40:41 +08:00
pikastech
9d087a934b
fix ci error
2022-07-01 23:10:51 +08:00
pikastech
868b028a66
support <None> and <if res == None>
2022-06-22 15:39:48 +08:00
pikastech
2afaea6e7c
support str() from bytes to string
2022-06-10 11:34:46 +08:00
pikastech
83b3611c4a
use double in ARG_FLOAT
2022-06-10 09:29:49 +08:00
lyon
6f1a96ed37
test create list() by for_append
2022-06-01 11:59:12 +08:00
lyon
a97d6f3f76
support __str__ for String(), find mem leak when print(String('test'))
2022-06-01 11:46:59 +08:00
lyon
6b63c13bef
support bytes() built-in
2022-05-26 15:46:34 +08:00
lyon
e7d8359891
clear the __IMPLEMENT__
2022-05-23 22:28:09 +08:00
lyon
d82c3241ae
clear the content_<> API, add 'clang-format off' to def_class
2022-05-22 21:52:37 +08:00
lyon
5b2ea98b77
solve warnigns of Arg Type
2022-05-22 21:11:32 +08:00