2 ms·
isString is the cheapest method out there, it just tests a tag bit in the pointer. Pretty much an AND followed by a branch.
by mahmud 17y ago
isString is the cheapest method out there, it just tests a tag bit in the pointer. Pretty much an AND followed by a branch.
- apgwoz 17y ago... except for setting up the function call, and all that jazz.