Reply to Re: Optimization : Where to focus

Your name:

Reply:


Posted by Ben Holness on 05/04/06 04:31

> However, for only 500 items I'd say just use the varchar. As Toby said, if you
> index this column (automatic if it's the primary key), it should be very fast.

Based on the first email, I will choose int or enum. I am looking to
squeeze as much efficiency as possible out of the hardware :) I will be
happy shaving off 2 microseconds of cpu processing time.

So which do you think takes the least processor time - PHP looking up a
value in an array or MySQL converting enum to int? ;)

Cheers,

Ben

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация