From: Greg Hendershott (greghendershott at gmail.com) Date: Mon Sep 1 14:04:54 EDT 2014 |
|
In some applications a 7% speedup in numeric operations is welcome. I think the main issue with unsafe-fl ops is that they are unsafe. The best thing about Typed Racket is that you can delegate that problem. Not only do you not need to write unsafe-fl+, you don't even need to write fl+. You can write +. Typed Racket will determine if + can safely be replaced with unsafe-fl+. (Assuming you typed things as Float a.k.a. Flonum, FlVector, &c.)
Posted on the users mailing list. |
|