Skip to content

Commit 0d14767

Browse files
committed
perf: avoid per-row snapshot hash tuple copy
1 parent abdbd91 commit 0d14767

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/openstatspec/sql/workflow.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ def typed(value: Any, kind: str) -> dict[str, str]:
12181218
encoded = [typed(row[0], "integer")]
12191219
encoded.extend(
12201220
typed(value, variable["storage_kind"])
1221-
for value, variable in zip(tuple(row)[1:], variables)
1221+
for value, variable in zip(row[1:], variables)
12221222
)
12231223
if not first:
12241224
digest.update(b",")

0 commit comments

Comments
 (0)