From d0d07d464d1ee5eb6489e937dc87a60ebb4c5765 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Sun, 31 Mar 2024 15:19:08 -0700 Subject: [PATCH] Remove debug print --- message.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/message.go b/message.go index 9968567..9767c7d 100644 --- a/message.go +++ b/message.go @@ -1,9 +1,5 @@ package graphvent -import ( - "fmt" -) - type Message struct { Node NodeID Signal Signal @@ -19,8 +15,6 @@ type MessageQueue struct { func (queue *MessageQueue) ProcessIncoming(message Message) { if (queue.write_cursor + 1) == queue.read_cursor || ((queue.write_cursor + 1) == len(queue.buffer) && queue.read_cursor == 0) { - fmt.Printf("Growing queue from %d to %d\n", len(queue.buffer), len(queue.buffer)*2) - new_buffer := make([]Message, len(queue.buffer) * 2) copy(new_buffer, queue.buffer[queue.read_cursor:])