Triforce v0.7.0 "Sage Of Courage"

The 0.6 crashes after warps and area changes fixed (no write-back into memory the capture leaves out), invisible objects fixed (occlusion gate), DLSS frame generation flicker fixed, achievements, the renderer built with a play profile, faster translated game code, helper threads judged on settled scenes, memory, shader preparation, audio effects, launcher, controls and Linux fixes.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-22 11:59:06 -06:00
parent 70c210cee1
commit e6f2f248f2
529 changed files with 55958 additions and 1898 deletions

View File

@@ -321,7 +321,8 @@ def fn_cost(size):
def text_cost(text):
"""The estimated compile cost of a C file of lifted functions"""
marks = [m.start() for m in HEAD.finditer(text)] + [len(text)]
# ((Triforce, 11-22, the performance audit's IO-40) lifted_c.noted_starts: where HEAD's matches start, found by jumps)
marks = list(lifted_c.noted_starts(text)) + [len(text)]
return marks[0] + sum(fn_cost(b - a) for a, b in zip(marks, marks[1:]))
@@ -346,7 +347,7 @@ def split_one(gen_dir, path, budget):
made, costs = [], {}
with open(path, encoding="utf-8", newline="") as f:
text = f.read()
marks = [h.start() for h in HEAD.finditer(text)]
marks = list(lifted_c.noted_starts(text)) # ((Triforce, 11-22, IO-40) as [h.start() for h in HEAD.finditer(text)])
ends = marks[1:] + [len(text)]
cost = [fn_cost(b - a) for a, b in zip(marks, ends)]
total = sum(cost)