Skip to content

File diff#947

Open
WarmUpTill wants to merge 3 commits intomasterfrom
file-diff
Open

File diff#947
WarmUpTill wants to merge 3 commits intomasterfrom
file-diff

Conversation

@WarmUpTill
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

2 participants