FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP functions to convert markup efficiently
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP functions to convert markup efficiently [message #183816 is a reply to message #183815] Thu, 21 November 2013 19:29 Go to previous messageGo to previous message
James Harris is currently offline  James Harris
Messages: 11
Registered: November 2013
Karma:
Junior Member
"Christoph Michael Becker" <cmbecker69(at)arcor(dot)de> wrote in message
news:528e5aa6$0$6627$9b4e6d93(at)newsspool2(dot)arcor-online(dot)net...

....

>>>> For example, it looks like I could choose between PHP's expand(),
>>>> fgets()
>>>> and regular expression handling.
>
> I never heard of a PHP function called expand().

Oops - that should have been explode().

>>>> Of course, implemenations may differ slightly but, on average, are
>>>> there
>>>> certain PHP approaches that could be expected to be faster than others?
>
> Most likely those which are programmed in C.

Is there a way to identify those?

That may not be the only consideration. ISTM that even if the regular
expression handler is programmed in C simple string handling (hopefully also
programmed in C) should be much faster as long as it is written sensibly.

James
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: changing iframe source via php
Next Topic: converting numbers to ascii values
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 17:44:10 GMT 2024

Total time taken to generate the page: 0.04416 seconds