pmmp / ext-pmmpthread

Fork of https://github.com/krakjoe/pthreads with a revamped API and PHP 8.1+ support
Other
82 stars 15 forks source link

First look at preferring autoload over class copying #117

Open dktapps opened 1 year ago

dktapps commented 1 year ago

this is currently unfinished, and it will attempt to fire the autoloader for every class when INHERIT_ALL is used, which is not intended.

the aim is to avoid class copying wherever possible, since copying classes is a source of stability issues.

this change also allows sidestepping #73 for named classes.