Skip to content

Conversation

@WarmUpTill
Copy link
Owner

No description provided.

list->addItem(obs_module_text(
"AdvSceneSwitcher.condition.file.type.dateChange"));
static constexpr std::array<
std::tuple<MacroConditionFile::ConditionType, std::string_view>,
Copy link
Contributor

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

Copy link
Owner Author

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.

@Destroy666x
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants