sstephenson/execjs — pull request #149 by josh (2014-06-05 20:01:19+00:00)
Title: Optimize: Tempfile management

`Tempfile.open` has some finalizer and unlinking overhead that was don't actually use since we close the file right away. `Tempfile.create` was added in Ruby 2.1 to help, but it isn't widely available yet. Copy pasta some of its internals here.