3 ms·
I'd be curious if matching 128 bit words is slower or more painful than variable-length string comparisons in any RDBMS. I would bet not. Plus, you can't do C
by dpifke 17y ago
I'd be curious if matching 128 bit words is slower or more painful than variable-length string comparisons in any RDBMS. I would bet not.
Plus, you can't do CIDR operations on strings, making it a pain to i.e. match all addresses within a given /27.
- audidude 17y agoYou will often have to do a page-fault for both, so loading wont be too much an issue. However, you have to get it into an integer to compare it to begin with. So the string method is purely overhead.