-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Pull event name transformation into engine. #402
Conversation
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.
I'm observing something like 10x~20x improvement with these changes.
We're still not to the point where i can run ppb_mutant.index
at 30FPS, but this is a dramatic push in that direction.
@@ -127,17 +141,26 @@ def publish(self): | |||
scene = self.current_scene | |||
event.scene = scene | |||
extensions = chain(self.event_extensions[type(event)], self.event_extensions[...]) | |||
|
|||
# Hydrating extensions. |
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.
Odd phrasing?
assert fire_event is passed_fire | ||
|
||
|
||
def test_event_mixin_with_bad_signature(): |
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.
Not a fan of losing this test, but I also can't think of a good way to handle it.
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.
Yup, I think I need to puzzle on how to get it. It's a lot heavier of a test now.
bors r+ |
Closes #390