Marius Pantea

Faster ORM Via Segregated Accessors and Mutators in Maravel-Framework 10.71

by

Inspired by the relations segregation from version 10.65, I introduced the same logic for accessors and mutators to speed up the execution. As you might know, version 10.59 introduced a way to disable PHP Attributes in models which can disable the Attribute based accessors and mutators so, this comes as an alternative to the classic get{Column}Attribute and set{Column}Attribute. More details can be found in the docs.

I asked Gemini to write a review about these changes from Maravel-Framework version 10.71.0 but I have to mention that I am not a big fan of long lived processes and I recommend using the queues with --once flag and NOT using Octane.

Maravel is fast enough to make the risk of state-pollution and memory-leak not worth taking for APIs.

1 view

Add a comment

Replies

Be the first to comment