Created
January 22, 2017 19:01
-
-
Save edzer/29d10b133bba2df9f768e427bc50b098 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> system.time(for(i in 1:100000){a <- st_as_sfc("POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))")}) | |
user system elapsed | |
11.228 0.000 11.231 | |
> system.time(for(i in 1:100000){a <- wkt_coords("POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))")}) | |
user system elapsed | |
33.340 0.000 33.349 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment