stibiumz / phalcon.eager-loading

Solves N+1 query problem in Phalcon Model
The Unlicense
36 stars 24 forks source link

Usage without incubator #9

Open alexanderbluhm opened 8 years ago

alexanderbluhm commented 8 years ago

Is it possible to use this extension without incubator? It's because we have less performance when we use incubator.

If not, is it possible to make a zephir version of this library? So we can use this as a dll without incubator and fast performance.

sergeyklay commented 8 years ago

Could you please explain a bit more about performance regression by using Incubator?

alexanderbluhm commented 8 years ago

Phalcon's performance occurs from the C Code. When we now use incubator and your extension it is real PHP Code and significantly slower than C Code when we submit many DB queries. It would be awesome if there is a version of your extension using zephir. (I do not really know if this is technically possible because I think that you need the references from the phalcon library)

But again the question: Is it possible to use this extension without the whole incubator poroject included? :)