Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: xor in PL/SQL
Finn Nova doodled thusly:
>Xor is implemented in most CPUs. I don't understand why I should write
>code (that will take a lot longer to execute) for an operation that is
>already there as hardware.
Well, strictly speaking it's not already there. Most CPU's can do XOR between two single words (32-bits in most cases). But when it comes to XOR of strings (of bytes or otherwise) most require code as well.
Having said that, XOR in PL/SQL (and SQL) is long overdue. I lost count of the number of times I could have used it and had to dig out my Karnaugh maps to get an efficient XOR coded...
Listening, Mr Oracle? Pretty please?
Cheers
Nuno Souto
nsouto_at_optushome.com.au.nospam
Received on Fri Mar 01 2002 - 03:59:32 CST
![]() |
![]() |