You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
foreach (var row in query.Execute) {
row.AssignTo(out var result); // copy from SQLite memory to managed memory
// do anything with result, including putting it on the heap
}
This can be optimized for callers that only use the result on the stack. Maybe:
query.Execute.ForEach(result => StackWork(result)) // no copy, Span fields allowed
Where result is constrained to ref struct?
The text was updated successfully, but these errors were encountered:
The current query execution is basically:
This can be optimized for callers that only use the result on the stack. Maybe:
Where result is constrained to
ref struct
?The text was updated successfully, but these errors were encountered: