Skip to content
phalcon edited this page Dec 4, 2012 · 2 revisions

Outstanding

  • Eliminate eval_int variable
  • Eliminate intermediate variables reading objects members and array items
  • Eliminate PH_CHECK constant

Completed

  • Change SL("some")+1 by SS("some")
  • Rename old labels to ph_cycle_, ph_start_, ph_incr_*
  • Use PHALCON_INIT_NVAR when the variable will be re-written and PHALCON_INIT_VAR when the variable it's used only once
  • Remove unnecessary PH_SEPARATE to increase performance
  • Remove PHALCON_MM_GROW when no variable is allocate (also PHALCON_MM_RESTORE())
  • Change Z_TYPE_P(x) == IS_BOOL && !Z_BVAL_P(x) by PHALCON_IS_FALSE(x)
  • Change Z_TYPE_P(x) == IS_BOOL && Z_BVAL_P(x) by PHALCON_IS_TRUE(x)