-
Notifications
You must be signed in to change notification settings - Fork 20
refactor(span)!: use VecMap for meta, metrics and meta_struct for v04 spans
#2043
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: yannham/vecmap-as-dedup
Are you sure you want to change the base?
Changes from all commits
db582b3
00c6cb9
611a2e5
0cb7384
b5b3a2d
8a09a57
2aa1888
57b3ec4
0e742ae
1a31aee
7328f51
e93e908
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,7 +45,7 @@ where | |
| for (k, v) in &self.meta { | ||
| size += k.as_ref().len() + v.as_ref().len(); | ||
| } | ||
| for k in self.metrics.keys() { | ||
| for (k, _) in &self.metrics { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. TODO: this is wrong, because keys can be duplicated. Solution 1: don't dedup. The size will be over-estimated.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Now that we have a |
||
| size += k.as_ref().len() + 8; | ||
| } | ||
| for (k, v) in &self.meta_struct { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.