Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Track and log changes to settings #17678
Track and log changes to settings #17678
Changes from all commits
6ba3fc1
f4f6f11
19a3dec
34c93d1
d0ba995
7bb991f
b026175
8bda86e
8a17e26
e658ffb
1ea1c51
65defc0
ff22605
f201fee
9b04a62
d7b6b54
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Elsewhere you wrote
_changeLog.emplace(KeysKey);
. Does this not support the contains call without the.data()
call?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope :/. Even with the transparent comparators
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we may get flagged with a "garrulous event". this is a lot of data. there might be a way to TraceLog an array??? i don't actually know.
my concern is that we'll get absolutely whacked with data for any even moderately complicated settings file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a limit of 65535 bytes per event so that's my concern (though idk how valid it may be) in packing it all together into one.
Even then though, if we sent it over as an array, won't that exclude the stuff we actually want to learn? Like, if we received events with a payload of...
globals.initialRows, globals.wordDelimiters, globals.copyOnSelect
globals.wordDelimiters, globals.copyOnSelect
We would just see the data as 2 hits with a payload of an array each whereas we want to track "how many hits each setting got (i.e.
globals.initialRows=1
,globals.wordDelimiters=2
,globals.copyOnSelect=2
). Right?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very clever.