summaryrefslogtreecommitdiff
path: root/test/pdf_sections_bench.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/pdf_sections_bench.zig')
-rw-r--r--test/pdf_sections_bench.zig6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/pdf_sections_bench.zig b/test/pdf_sections_bench.zig
index ce548924..47b74018 100644
--- a/test/pdf_sections_bench.zig
+++ b/test/pdf_sections_bench.zig
@@ -357,9 +357,6 @@ fn outlineIdentity(entries: []const pdf.OutlineEntry) Identity {
var bytes: u64 = 0;
for (entries) |entry| {
checksum = mix(checksum, entry.depth);
- checksum = mix(checksum, entry.flags);
- checksum = mix(checksum, @intFromBool(entry.is_open));
- checksum = std.hash.Wyhash.hash(checksum, &entry.color);
if (entry.title) |title| {
bytes += title.len;
checksum = std.hash.Wyhash.hash(checksum, title);
@@ -389,9 +386,6 @@ fn makeWorstShape() ![]pdf.OutlineEntry {
entry.* = .{
.depth = depth,
.title = "Worst shape outline title",
- .is_open = true,
- .flags = 0,
- .color = .{ 0, 0, 0 },
.destination = if (depth + 1 == near_limit_depth)
.{ .internal = .{
.page = ordinal / near_limit_depth,