mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 08:47:28 +01:00
Add slice base.u8 peek/poke methods
wuffs_png_decode_filter_1_sub/clang9 4.59GB/s ± 0% 4.59GB/s ± 0% ~ (p=0.151 n=5+5) wuffs_png_decode_filter_1_sub/gcc10 1.85GB/s ± 0% 4.11GB/s ± 0% +122.24% (p=0.016 n=5+4)
This commit is contained in:
1 parent
602b711ba6
commit
26a7280900
13 files changed
+204
-48
No files matched your search
@@ -58,7 +58,9 @@ func (q *checker) optimizeIOMethodAdvance(receiver *a.Expr, advance *big.Int, ad
|
||||
// receiver.length(), even if they aren't an exact match.
|
||||
|
||||
op := x.Operator()
|
||||
if op != t.IDXBinaryGreaterEq && op != t.IDXBinaryGreaterThan {
|
||||
if (op != t.IDXBinaryGreaterEq) &&
|
||||
(op != t.IDXBinaryGreaterThan) &&
|
||||
(op != t.IDXBinaryEqEq) {
|
||||
return x, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user