It has been a "my code doesn't work and I don't know why" kind of day...

Ah ha! I got something working, at least. My #PSR14 event dispatcher now has a "virtually instantaneous" mode. 🙂 #PHP

New release with this improvement coming soon.

https://github.com/Crell/Tukio/pull/21

Opt-in optimization for the compiled provider by Crell · Pull Request #21 · Crell/Tukio

Description This PR lets the user specify on the ProviderBuilder what events it should optimize. Once we have the class name of those events, we can pre-compute all the listeners that will apply t...

GitHub

@Crell When flowing down the river of your own stupidity,

it's best not to fight the current

@Crell I always wonder which is better, that or "my code does work and I don't know why” 😬