-
Notifications
You must be signed in to change notification settings - Fork 79
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
File diff #947
base: master
Are you sure you want to change the base?
File diff #947
Conversation
4d4de2c
to
b50d6f9
Compare
list->addItem(obs_module_text( | ||
"AdvSceneSwitcher.condition.file.type.dateChange")); | ||
static constexpr std::array< | ||
std::tuple<MacroConditionFile::ConditionType, std::string_view>, |
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.
Just curious - wh this instead of map
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.
Ah just some unnecessary constexpr optimization ... no reason in particular.
b50d6f9
to
7ada858
Compare
Idea to improve it for bigger files - "Check only starting from last known line" checkbox or anything similar for kind of "tail" mode that would work in some scenarios. Otherwise much faster diffing algorithm would be needed, but that's impossible without moving the action IIRC and also wouldn't help that much with e.g. some game log files that can grow heavily. |
No description provided.