Commit 361aff2
committed
perf(Storage): Optimize CRC32C interceptor with ReferenceEquals check for uploadUri
This change introduces a ReferenceEquals check for the _uploadUri.
Since URI objects are typically stable during the request lifecycle,
this provides an O(1) fast-path to bypass the interceptor logic
for unrelated traffic, minimizing service-wide latency.
- Added ReferenceEquals check for immediate filtering
- Reduced CPU cycles for non-upload service calls
- Addressed PR feedback regarding parallel request overhead1 parent fbbe491 commit 361aff2
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
0 commit comments