Alex Roitman
f3cc365d24
Pre-allocate where and wherein arrays.
2020-04-09 09:36:12 -07:00
Alex Roitman
d5132a9eae
Map field names to array indices in scanwriter, once per query.
2020-03-25 15:15:06 -07:00
Alex Roitman
27c6980f82
Copy array and only loop if we need to pad.
2020-03-25 15:14:37 -07:00
Alex Roitman
5faccc3b4c
Avoid sorting fields for each written object.
2020-03-03 13:39:43 -08:00
tidwall
c084aeedc2
Code cleanup
...
This commit cleans up various Go code in the internal directory.
- Ensures comments on exported functions
- Changes all *Server receiver in all files to be "s", instead
of mixed "c", "s", "server", etc.
- Silenced Go warnings for if/else with returns.
- Cleaned up import ordering.
2019-10-30 10:17:59 -07:00
Melissa Baker
46f5d2d224
Fixed nearby json field results showing wrong data
...
issue #453
2019-05-28 12:17:59 -07:00
tidwall
fc3e8b4359
Fix nearby with match query invalid results
...
closes #421
2019-03-01 06:55:26 -07:00
tidwall
07bae979a5
Added Cursor interface
2018-11-02 06:09:56 -07:00
Alex Roitman
0933c541f4
Refactor cursor/paging.
2018-10-31 22:01:37 -07:00
Alex Roitman
b94f3685b6
Move iterating up to the cursor before any tests.
2018-10-31 22:01:24 -07:00
tidwall
555e47036c
Replaced net package with evio
...
- Added threads startup flag
- Replaced net package with evio
- Refactored controller into server
2018-10-28 15:51:47 -07:00