A FogBugz case was edited by Clement Bera.
Case ID: 10363
Title: Boolean clean up
Status: Resolved (Fix To Include)
Category: Cleanup
Project: Kernel
Area: Misc
Priority: 4 - Fix If Time
Milestone: Later
Assigned To: Clement Bera
URL:
https://pharo.fogbugz.com/default.asp?10363In fact it might be slower. I don't know if the change worths it.
[ true ifTrue: [ 1 ] ifFalse: [ 0 ].
false ifTrue: [ 1 ] ifFalse: [ 0 ] ] bench '56,900,000 per second.'
[ true asBit.
false asBit ] bench '50,300,000 per second.'
You are subscribed to this case. If you do not want to receive automatic notifications in the future, unsubscribe (
https://pharo.fogbugz.com/default.asp?pre=preUnsubscribe&pg=pgEditBug&command=view&ixBug=10363) from this case.
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker