Lyon
f342cde844
support arg value debug on kernal_debug mode
2023-07-19 17:00:03 +08:00
Lyon
b27c488b7b
format goto label
2023-07-19 14:17:00 +08:00
Lyon
3c031e4e5d
support get host object for c extern object
2023-07-17 18:29:49 +08:00
Lyon
0e4d927a5d
fix arg_getBool, support REPL echo config
2023-07-11 16:36:28 +08:00
Lyon
1f92b8135c
using clang-tidy and add format.py to auto-format
2023-07-09 23:12:21 +08:00
Lyon
80ce248b5a
Merge branch 'packer'
2023-07-03 01:53:48 +08:00
shanjiayang
52158863fa
Fix memory leak issue in the pack module,and add test:packreadErr
2023-07-02 23:02:50 +08:00
shanjiayang
4f9a4dad06
lost?
2023-06-27 20:08:17 +08:00
lyon
efb0aa4e8e
json.dumps speed enhanced 100+ times
2023-06-18 00:03:16 +08:00
lyon
21c6ed27aa
support argNewStrN() api
2023-06-17 15:45:35 +08:00
lyon
c823ad0879
support isinstance() for simple type
2023-05-21 01:19:13 +08:00
lyon
03e6b89980
support lua table to list/dict
2023-05-14 22:50:24 +08:00
shanjiayang
ef39e6d48a
fixed memoryleak in function:_do_pikaMaker_linkCompiledModulesFullPath;fixed bugs for pikafs_fopen_pack, but still have memryleak problem
2023-04-24 13:28:00 +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