Expensive how?

-josh

"Bogdan Stancescu" <[EMAIL PROTECTED]> wrote:
> I'd recommend writing a wrapper around base_convert, naming it hex2bin
> and using that instead. base_convert() is way too expensive for this
> purpose (you know that any hex figure is translated to exactly four
> bits, so you don't need any actual conversion - just replacement). This
> is why I suggested the wrapper - you can change the code at any time if
> you see it's too time-consuming...



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to