thautwarm / diojit

Fully compatible CPython jit compiler. Optimising Dynamic, Interpreted, and Object-oriented(DIO) programs.
BSD 2-Clause "Simplified" License
117 stars 2 forks source link

jitting constructors #15

Closed thautwarm closed 3 years ago

thautwarm commented 3 years ago
a = T(arg1, arg2)

when T is a type, dynjit should treat it as

a = T.__new__(T)
T.__init__(a, arg1, arg2)
thautwarm commented 3 years ago

closing in favor of #17