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
Become the fastest ORM in the world #1071
Comments
That's a very interesting idea. I've thought about these types of approaches for faster implementations over the years as well. It would be interesting to see something like this happen if the performance improvements really are there. |
Atm they discuss extensions which can contain code written in php. Even this could get us a bit faster in case the classes would get part of the runtime |
Yes, that sounds good, but we need first to finish the data-mapper branch because of
|
@marcj Totally agree. First things first :) |
Just to throw this out there: Please never compile to Zephir. Additional deps is awful. PHP is fast enough these days. |
Of course not required, but perhaps optional as separate library. |
Closing for now. |
Propel's basis in code generation makes it possible to optimize the performance specifically to one's data model.
The query builder can pre-generate most common queries directly into the source code.
Also, today the classes are generated in PHP, but it is possible to generate them using zephir.
This makes it possible to one day run
propel build
and get the generated classes available via a PHP extension. Since this is not even possible with Phalcon or similar Zephir-based ORM's today, this could potentially make propel the fastest ORM in the world one day.Does this sound feasible or am I hoping for too much? :)
Related: #1062 #426 #478
The text was updated successfully, but these errors were encountered: