{{ message }}
Commit c9846c9
authored
perf(storage): use google_crc32c.value() for simpler crc32c calculation (#16761)
## Summary
- Simplified CRC32C calculation by using `google_crc32c.value()`.
- Improved code readability and reduced complexity in checksum logic.1 parent 7073be1 commit c9846c9
4 files changed
Lines changed: 8 additions & 15 deletions
File tree
- packages/google-cloud-storage
- google/cloud/storage/asyncio/retry
- tests/unit/asyncio
- retry
Lines changed: 1 addition & 2 deletions
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
| 128 | + | |
130 | 129 | | |
131 | 130 | | |
132 | 131 | | |
| |||
Lines changed: 4 additions & 8 deletions

0 commit comments