mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 08:47:28 +01:00
Re-introduce writer1.use_limit.
Nobody uses it yet, as we only decode and not encode, but it's there for symmetry. No benchmark changes, as nobody uses it yet.
This commit is contained in:
1 parent
7d8085f891
commit
e5db8233fc
7 files changed
+10
-10
No files matched your search
+1
-1
@@ -122,7 +122,7 @@ typedef struct {
|
||||
// use_limit is redundant, in that it always equals (limit != NULL), but
|
||||
// having a separate bool can have a significant performance effect with
|
||||
// gcc 4.8.4 (e.g. 1.1x on some benchmarks).
|
||||
// TODO: bool use_limit;
|
||||
bool use_limit;
|
||||
} private_impl;
|
||||
} puffs_base__writer1;
|
||||
|
||||
|
||||
+1
-1
@@ -122,7 +122,7 @@ typedef struct {
|
||||
// use_limit is redundant, in that it always equals (limit != NULL), but
|
||||
// having a separate bool can have a significant performance effect with
|
||||
// gcc 4.8.4 (e.g. 1.1x on some benchmarks).
|
||||
// TODO: bool use_limit;
|
||||
bool use_limit;
|
||||
} private_impl;
|
||||
} puffs_base__writer1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user