mirror of https://github.com/tidwall/tile38.git
misspellings
This commit is contained in:
parent
8092fa4db9
commit
8a97ea2218
|
@ -40,7 +40,7 @@ func ExampleDialPool() {
|
|||
}()
|
||||
time.Sleep(time.Second / 2) // wait a moment
|
||||
|
||||
// Retreive the point we just set.
|
||||
// Retrieve the point we just set.
|
||||
go func() {
|
||||
conn, err := pool.Get() // get a conn from the pool
|
||||
if err != nil {
|
||||
|
|
|
@ -20,7 +20,6 @@ func (c *Controller) cmdMassInsert(msg *server.Message) (res string, err error)
|
|||
start := time.Now()
|
||||
vs := msg.Values[1:]
|
||||
|
||||
// massinsert simply forwards a bunch of cmdSets
|
||||
var snumCols, snumPoints string
|
||||
var cols, objs int
|
||||
var ok bool
|
||||
|
|
|
@ -24,7 +24,7 @@ type nodeT struct {
|
|||
nodes [4]*nodeT
|
||||
}
|
||||
|
||||
// QTree is an implentation of a quad tree
|
||||
// QTree is an implementation of a quad tree
|
||||
type QTree struct {
|
||||
root *nodeT
|
||||
minX, minY float64
|
||||
|
|
|
@ -274,7 +274,7 @@ func disconnectBranch(node *nodeT, index int) {
|
|||
}
|
||||
|
||||
// Pick a branch. Pick the one that will need the smallest increase
|
||||
// in area to accomodate the new rectangle. This will result in the
|
||||
// in area to accommodate the new rectangle. This will result in the
|
||||
// least total area for the covering rectangles in the current node.
|
||||
// In case of a tie, pick the one which was smaller before, to get
|
||||
// the best resolution when searching.
|
||||
|
|
Loading…
Reference in New Issue