Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def setup(self):
self.to_write = pygeos.polygons(np.random.random((10000, 100, 2)))
self.to_read_wkt = pygeos.to_wkt(self.to_write)
self.to_read_wkb = pygeos.to_wkb(self.to_write)
def time_write_to_wkt(self):
pygeos.to_wkt(self.to_write)