Performance Ideas

So I have a few performance ideas that I wish to jot down here in my blog, and then implement and bench mark:

1. Use phpbtree to hold menu and path information
2. Use while( list($key, $value) = each($array)) because this does NOT make a copy of the array like foreach does

Comments

Good ideas

It is really good. Your ideas is truly amazing. It helps me to solve my problems. I like your work. You r really amazing.

Good one

Hi there,

Thanks for the tip, didn't know foreach makes a copy of the array. I'm not familiar with phpbtree tough, will google it.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.