You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trace recording is aborted due to NYI for the case of a struct with aggregate allocation.
Ironically, it works for the array of the same structs - see the test in attach.
The VLA/VLS machinery was added in f1f7e40 on the v2.1 branch, closing NYI for array of aggregates around line 1013
I believe it could be also applied for the case of struct with aggregates at line 1042 since it handles zero init, failing with initializers list anyways.
The test attached shows the following 500x uplift with initial state
$ ./luajit ../../test/ffinew.lua
Median time for struct allocation: 0.021003 sec
Median time for array allocation: 4.6000000000213e-05 sec
turned into
$ ./luajit ../../test/ffinew.lua
Median time for struct allocation: 4.8e-05 sec
Median time for array allocation: 4.8000000000001e-05 sec
ffinew.lua.txt
Trace recording is aborted due to NYI for the case of a struct with aggregate allocation.
Ironically, it works for the array of the same structs - see the test in attach.
The VLA/VLS machinery was added in f1f7e40 on the v2.1 branch, closing NYI for array of aggregates around line 1013
I believe it could be also applied for the case of struct with aggregates at line 1042 since it handles zero init, failing with initializers list anyways.
The test attached shows the following 500x uplift with initial state
turned into
with
The text was updated successfully, but these errors were encountered: