Mercurial > gemma
view go.mod @ 5520:05db984d3db1
Improve performance of bottleneck area calculation
Avoid buffer calculations by replacing them with simple distance comparisons
and calculate the boundary of the result geometry only once per iteration.
In some edge cases with very large numbers of iterations, this reduced
the runtime of a bottleneck import by a factor of more than twenty.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 21 Oct 2021 19:50:39 +0200 |
parents | e8e1a24d2f4c |
children | 2b6c235e33b0 |
line wrap: on
line source
module gemma.intevation.de/gemma go 1.13 require ( github.com/PaesslerAG/gval v1.1.1 github.com/cockroachdb/apd v1.1.0 // indirect github.com/fatih/structs v1.1.0 github.com/fogleman/contourmap v0.0.0-20190814184649-9f61d36c4199 github.com/gofrs/uuid v3.2.0+incompatible // indirect github.com/gorilla/mux v1.8.0 github.com/jackc/fake v0.0.0-20150926172116-812a484cc733 // indirect github.com/jackc/pgx v3.6.2+incompatible github.com/jonas-p/go-shp v0.1.2-0.20190401125246-9fd306ae10a6 github.com/lib/pq v1.2.0 // indirect github.com/mitchellh/go-homedir v1.1.0 github.com/rs/cors v1.8.0 github.com/sergi/go-diff v1.0.0 github.com/shopspring/decimal v0.0.0-20190905144223-a36b5d85f337 // indirect github.com/spf13/cobra v1.2.1 github.com/spf13/viper v1.9.0 github.com/tidwall/rtree v1.3.1 github.com/xuri/excelize/v2 v2.4.1 go.etcd.io/bbolt v1.3.6 golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect golang.org/x/net v0.0.0-20211020060615-d418f374d309 golang.org/x/sys v0.0.0-20211020174200-9d6173849985 // indirect golang.org/x/text v0.3.7 // indirect gonum.org/v1/gonum v0.9.3 gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df gopkg.in/robfig/cron.v1 v1.2.0 gopkg.in/yaml.v2 v2.4.0 )