mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Use the peek, skip_fast and write_fast methods
No change in the benchmark numbers.
This commit is contained in:
1 parent
a32683e5ea
commit
5aa16ef671
3 files changed
+57
-64
No files matched your search
@@ -216,6 +216,7 @@ func (q *checker) optimizeSuspendible(n *a.Expr, depth uint32) error {
|
||||
if ok, err := q.optimizeIOMethodAdvance(nReceiver, advance, true); err != nil {
|
||||
return err
|
||||
} else if ok {
|
||||
// TODO: no longer used; delete.
|
||||
n.SetProvenNotToSuspend()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user