Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

73 users online



what's faster...

what's faster...

Currently viewing this thread: 1 (0 members and 1 guests)


vivehostingcom

vivehostingcom

Neverside Newbie
Status: Offline!

what's faster...

Hi, I'm hoping someone with experience could answer my question. I want to make a news portal site in the future and wanted to know which method would be faster... doing preg_match_all on a site, or parsing RSS. They are both pretty simple to code, but speed is important. If you know one is faster than the other, is it a noticeable difference such as a whole second? thanks.

___________________

viveHosting.com
Affordable Hosting, Reliable Service
myIMGs.com
Competitive Image Hosting with many features

Rad

Rad

thinking of something witty to put here
Status: Offline!

Parsing RSS ? parsing a whole site is obviously slower since it contains other data than the content. With RSS, you're getting a bare minimum of extra junk.

phpmonkey

phpmonkey

whoa, wtf?
Status: Offline!

anythign preg you want to avoid as much as possible if you want speed.

___________________

Fomerly known as lasnaranjas. Holler.
http://card.mygamercard.net/gelsig/blackdood.png

Phil

Phil

with Mr. Jones
Status: Offline!

RSS in php4 isn't exactly fast, but its the cleaner solution so I would use it.

___________________

http://www.philbrodeur.com - Expert PHP Development and Tutorials

shadowblade

shadowblade

Status: Offline!

I agree with radley and phil

___________________

http://www.shadowblade.ssxh.net/images/shadowbladesig.jpg

BigToach

BigToach

Neversidian
Status: Offline!

ooooohhhhhhhh Jerome must be wrong!! Wink

___________________

Neverside Development Director
PHP Snippets
BigToach.com - IT WORKS, TOACHY!

phpmonkey

phpmonkey

whoa, wtf?
Status: Offline!
Quote:

Originally posted by shadowblade
I agree with radley and phil

Phil and Radley said the same thing as me dawg.

___________________

Fomerly known as lasnaranjas. Holler.
http://card.mygamercard.net/gelsig/blackdood.png

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0176 seconds.