Skip to content
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

core: Remove time limit from ExecutionLimit #15550

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Aaron1011
Copy link
Member

The time limit check was inherently non-deterministic. Since the 'progress' events depend on how often the execution limit is hit (which determines how many frames a movie will take to preload), runtime behavior could change between different machines.

In the case of Spinin, my lazy-image-decoding change made preloading fast enough (in terms of wall-clock time) that the entire movie preloaded at once, breaking the game.

The time limit check was inherently non-deterministic. Since
the 'progress' events depend on how often the execution limit
is hit (which determines how many frames a movie will take to
preload), runtime behavior could change between different machines.

In the case of Spinin, my lazy-image-decoding change made preloading
fast enough (in terms of wall-clock time) that the entire movie
preloaded at once, breaking the game.
pub fn did_ops_breach_limit(
&mut self,
context: &mut UpdateContext<'_, '_>,
_context: &mut UpdateContext<'_, '_>,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can the context parameter can be removed from here now?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that there's been quite some discussion about the point or validity of this PR on Discord.

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.

None yet

3 participants