lyon
03e6b89980
support lua table to list/dict
2023-05-14 22:50:24 +08:00
pikastech
a61553d55a
optimize for vm stack usage
2023-04-16 21:18:02 +08:00
pikastech
c89f873fab
optimize for pure string on printf
...
support unlimited pika_printf impl
2023-04-14 19:42:26 +08:00
pikastech
aeef23fc3b
fix align issue on unpack file
2023-03-23 16:30:26 +08:00
pikastech
7f5edaf090
add objCnt
...
ready to check where enable the mark_sweep
auto gc with threshold failed, add some assert
more assert about obj alive, dict mark not correct
add pikaGC_try, but cannot run at any time
markSweep crashed on keyword
save gcRoot for obj to debug
add debug point
add kernal_debug config to keep more debug info
use @res_<opt> to mark operation
found self reference on __iter__()
can not fix gc err around iter
remove lock, only keep the self lock
more obj info for debug
only pikaui not pass
only pikaui not pass
2023-03-08 09:35:27 +08:00
lyon
38388625ca
support mark-sweep gc
...
change project name and url on kernal sources
rename global Value
format name
use g_PikaObjState
add gc chain
add gc_mark()
add printCanFree
add sub locals init
try use mark-sweep to solve circle-ref
use mark sweep to collect circle ref succeed
import mark-sweep GC
config_default
update
2023-03-05 12:57:27 +08:00
lyon
57a04ca87e
fix built-in function print
2023-03-01 22:15:22 +08:00
lyon
f152db319c
support fullfealure of type()
2023-03-01 22:03:51 +08:00
lyon
21993122a3
fix weakref
...
add comment
2023-02-23 21:45:20 +08:00
lyon
2aafbbdc84
support type(bool)
2023-02-18 16:50:24 +08:00
lyon
85d989028e
support bool type
2023-02-18 16:35:03 +08:00
lyon
994bb3bdc5
add weakref
...
add PikaUI test
test PikauI_core passed
save host_obj on methodArg
support save host_obj for method
2023-02-11 00:58:58 +08:00
lyon
cba8f7ec44
use type(d) == <type> in json.py
2023-01-24 00:20:43 +08:00
lyon
065faab243
support str(type()) again
2023-01-23 23:53:40 +08:00
lyon
e50d75addb
use arg_toString to get arg<str>
2023-01-23 23:53:40 +08:00
lyon
63cc3434ee
ready to merge arg_singlePrint and _print_arg
2023-01-23 23:53:40 +08:00
lyon
cfcf88d6bd
fix * / compose
2023-01-06 15:36:39 +08:00
itschina
4d197d7cbb
update src/dataArg.c.
...
Signed-off-by: itschina <9417058@qq.com>
2023-01-06 02:09:02 +00:00
lyon
f92331022c
use pika_platform new api and add old api adapter
2022-12-29 18:06:22 +08:00
lyon
75ce1ba5c8
fix LLD
2022-12-24 15:03:35 +08:00
lyon
9d4fe8e98a
optimize speed for print() when one input
2022-11-17 12:48:10 +08:00
lyon
d52265afef
optimize speed for hint strip
2022-11-07 11:54:19 +08:00
pikastech
98863c79c3
fix core dump when print kw arg
2022-11-03 18:51:53 +08:00
pikastech
9ea03893b6
optimize speed for native method index
...
add prof.sh in ci_benchmark
2022-10-15 10:04:45 +08:00
lyon
c0f1482007
optimizing methodArg
...
use const decleartion
use method arg as default arg_cache_size
not open arc_cache on pool_config
2022-10-14 00:59:39 +08:00
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