( -- 計測用タイマー fn startTimer = timestamp() fn endTimer startTime = (timestamp() -…
- User
( -- 計測用タイマー fn startTimer = timestamp() fn endTimer startTime = (timestamp() - startTime) / 1000.0
-- ティーポットの自動生成 local teapot1 = teapot name:"Teapot_Nested" radius:10 local teapot2 = teapot name:"Teapot_Flat" radius:10 -- 計測データ local loopCount = 100000 -- 10万回の繰り返しでテスト -- **1. ネスト化された配列を事前定義** local nestedArray = #( #(#(82, 89, 90), #(73, 90, 52), #(32, 21, 26)), #(#(18, 40, 78), #(7, 16, 53), #(44, 60, 12)), #(#(54, 80, 54), #(1, 92, 6), #(55, 70, 10)) ) -- **ティーポット1にスクリプトコントローラを割り当て** ZZZ = teapot1.pos.controller = position_script() ZZZ.AddConstant "nestedArray" nestedArray -- **スクリプトを定義**
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.