<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
There's always more cleanup to be done!<br>
<br>
#isHeap is easy to remove. But #isArray might be a bit riskier.
These isXXX methods that simply answer a constant are extremely
fast, and never cause context switch. I guess this is important for
#isFloat, #isInteger, #isFraction, although the default that answers
false could be defined in Number, and not Object... And I'm not
really sure for #isArray.<br>
<br>
As usual, if you feel like digging into this, contributions are
welcome.<br>
<br>
Cheers,<br>
Juan Vuletich<br>
<br>
On 5/12/2015 12:18 PM, David Graham wrote:
<blockquote cite="mid:555219C2.7000701@unthinkable.org" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
I agree with this. :) A while back I noticed that some
collections have isXXX (like isArray and isHeap), while others
don't. Is this just a matter of cleanup or is there some logic
I'm missing?<br>
<br>
<div class="moz-cite-prefix">On 5/10/2015 1:31 PM, Juan Vuletich
wrote:<br>
</div>
<blockquote cite="mid:554FA3F4.5040603@jvuletich.org" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<br>
<br>
- Character >> isCharacter<br>
I guess we'd also need to add it to Object for this to make
sense. But we all agree that calling isXXX methods is not nice
style, right?<br>
<br>
</blockquote>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Cuis mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cuis@jvuletich.org">Cuis@jvuletich.org</a>
<a class="moz-txt-link-freetext" href="http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org">http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org</a>
</pre>
</blockquote>
<br>
</body>
</html>