Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/seed/omc/om2/s3/fuel-e16-inl.om # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / seed / omc / om2 / s3 / fuel-e16-inl.om` 26 lines ยท 626 bytes Raw Blame History 1 note S3 E16 fuel (D-S3-1 regression): inline expansions cost 1 at the call line and unrolls K at the loop 2 note line, in emission order. main comes first, so its expansion is compiled first: f1 call 1, f1 loop 64, 3 note 7 f2 expansions of 8321, the 8th f2 call and loop (58377), 55 f3 expansions of 129 (65472), the 56th 4 note f3 call (65473); its loop (line 13) takes the total to 65537: error 14 on line 13. 5 om2 6 fn main to int 7 f1 8 ret 0 9 end 10 fn f4 to void inline 11 end 12 fn f3 to void inline 13 for i ulong 64 unroll 14 f4 15 end 16 end 17 fn f2 to void inline 18 for i ulong 64 unroll 19 f3 20 end 21 end 22 fn f1 to void inline 23 for i ulong 64 unroll 24 f2 25 end 26 end