1
Fork 0
Commit graph

59 commits

Author SHA1 Message Date
9859f64d65
switched to a hashmap instead of an RTree
I haven't formally benchmarked it but I managed to mine half a chunk
with a total of 2s of cpu time
2023-12-26 00:09:25 -06:00
8adcfdea38
fix the fact that I barely use any memory (in progress) 2023-12-25 22:04:58 -06:00
48d7ea164d
disabled telemetry
made pathing a blocking task
2023-12-25 20:27:22 -06:00
9d7f3f45d5
subchunk-level parallelism 2023-12-25 15:04:46 -06:00
77f1547428
fixed shutdown 2023-12-25 14:09:43 -06:00
1b60bd74d7
filtered out some log bloat 2023-12-25 13:34:34 -06:00
95fcabc40e
TRACING IN MY WEB BROWSER 2023-12-25 12:16:25 -06:00
b2c41261de
more vaccilation 2023-12-25 00:39:18 -06:00
17422f4cdd
span exporter (does not work) 2023-12-25 00:29:36 -06:00
bb7f2c4cab
tracing_opentelemetry 2023-12-24 23:52:45 -06:00
645744e08c
switched to tracing 2023-12-24 23:36:11 -06:00
4e56ae770e
register turtles in scheduler when they make their first request 2023-12-24 20:24:24 -06:00
caef523357
await tasks in shutdown (not proven to work) 2023-12-24 17:55:26 -06:00
4c9fab0ed7
task work
there is currently a bug where multiple tasks are getting scheduled on
the same turtle, to disastrous effect.
2023-12-23 18:51:22 -06:00
cc29c64485
re-queue on startup 2023-12-23 00:19:33 -06:00
c4e745ba2e
scheduler api 2023-12-22 18:13:56 -06:00
dbbc41705e
felling 2023-12-22 16:35:30 -06:00
ee39602e03
tasks trait v2 2023-12-22 12:40:57 -06:00
8660daad1d
depots 2023-12-22 10:58:10 -06:00
85c32e48af
extracted turtle_api 2023-12-22 10:11:14 -06:00
058e12ef23
removed trait tasks 2023-12-22 09:51:14 -06:00
bda32e34a9
switched to log4rs 2023-12-22 09:40:35 -06:00
f7c5e3fdf5
more conserverative fuel dispatch 2023-12-22 09:02:22 -06:00
7d2d85169f
dfs on ore find & ignore fluids in pathfinding 2023-12-20 23:27:23 -06:00
7d9cd93d1c
go back for diamonds 2023-12-20 22:37:31 -06:00
d9a80f2a2b
switched to bincode for world data 2023-12-20 21:45:43 -06:00
5ba83793b5
change port post-build 2023-12-20 20:19:09 -06:00
6b42ac19d1
manual mode 2023-12-20 17:39:40 -06:00
292fa13c14
let goto break blocks 2023-12-20 01:29:44 -06:00
69e7d20df1
averted turtle deadlock with liberal use of smart pointers 2023-12-20 00:18:05 -06:00
1694c461ff
pretty menu on turtles 2023-12-19 20:36:30 -06:00
598fdf4df6
added fuel limit 2023-12-19 19:38:17 -06:00
5e9a99e030
overhauled turtle client 2023-12-19 19:21:08 -06:00
25322aab0e
fixed digging 2023-12-19 18:13:08 -06:00
3bb2344671
wait for info 2023-12-19 17:29:40 -06:00
7bfed6d8af
async fn pathing works 2023-12-19 17:16:50 -06:00
9be02c161d
world interior mutability 2023-12-19 09:59:08 -06:00
715520801d
exec api (global state in limbo) 2023-12-19 07:43:10 -06:00
fef8f7bce3
async callbacks 2023-12-18 09:39:28 -06:00
b7e33ae057
message passing 2023-12-18 09:10:25 -06:00
5f00bb9526
de-traited tasks 2023-12-17 20:47:41 -06:00
6d77acff8a
tasks (in progress) 2023-12-17 19:53:21 -06:00
e01ef3d10d
factored out Vec3 2023-12-17 16:03:10 -06:00
93f7befa7a
cargo fmt 2023-12-17 15:46:42 -06:00
93dc487750
factored out turtle and safe_kill modules 2023-12-17 15:44:36 -06:00
96a8de6858
authorized digging 2023-12-17 15:28:18 -06:00
42eff1af2b
extracted serve fn 2023-12-17 12:55:15 -06:00
1f4a5a2c9b
added deque for moves 2023-12-17 10:15:32 -06:00
3f5a258ea9
turtle info endpoint 2023-12-17 02:20:18 -06:00
721ffeb765
limit indefinite r-tree growth 2023-12-17 02:13:25 -06:00