1
0
mirror of https://github.com/janet-lang/janet synced 2024-07-01 01:23:15 +00:00
janet/src
Calvin Rose db63d352a2 Add specialization for 3 argument get.
This can be inlined with jmpnn instruction (jump if not nil) to
skip over the default value.

(get a b c)

can be exanded statically to

asm start:
    (get $0 $1 $2)
    (jmpnn $0 :label)
    ... Instructions to load default value to $0 - often a load.
    :label
asm end.
2020-06-28 15:03:01 -05:00
..
boot Add auto-resizing of gc interval. 2020-06-27 16:51:20 -05:00
conf More small changes to help with cross compilation 2020-06-27 12:39:16 -05:00
core Add specialization for 3 argument get. 2020-06-28 15:03:01 -05:00
include More small changes to help with cross compilation 2020-06-27 12:39:16 -05:00
mainclient More small changes to help with cross compilation 2020-06-27 12:39:16 -05:00