Experiments in using Lua with sol2 and how best to structure the data. Contains a shoot out of SOA, vs AOS vs. MOA. SOA = Struct of Arrays AOS = Array of Structs MOA = Many Array of Structs (kind of a hybrid)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Zed A. Shaw b8b376d927 Fixes from Antonio. 1. I had -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 in the meson.build. 2. The moa_many_for test had a copy-pasta extra extra for-loop that made it slow. Fix those two and the results match expectation with auto&:for doing better than indexing. 14 hours ago
..
bao_tests.cpp Demonstrates a weird perf mystery regarding auto&for loops. 1 day ago
bao_tests.lua Demonstrates a weird perf mystery regarding auto&for loops. 1 day ago
main.cpp Demonstrates a weird perf mystery regarding auto&for loops. 1 day ago
perf_tests.cpp Fixes from Antonio. 1. I had -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 in the meson.build. 2. The moa_many_for test had a copy-pasta extra extra for-loop that made it slow. Fix those two and the results match expectation with auto&:for doing better than indexing. 14 hours ago
player_script.lua Demonstrates a weird perf mystery regarding auto&for loops. 1 day ago
prelude_script.lua Demonstrates a weird perf mystery regarding auto&for loops. 1 day ago
soa_tests.cpp Demonstrates a weird perf mystery regarding auto&for loops. 1 day ago
soa_tests.lua Demonstrates a weird perf mystery regarding auto&for loops. 1 day ago
sol2_test.cpp Demonstrates a weird perf mystery regarding auto&for loops. 1 day ago
variables.lua Demonstrates a weird perf mystery regarding auto&for loops. 1 day ago