anchor.diff:  	if(!TE.callBack)
   		. += ", NO CALLBACK"
   
  +/**
  +  * Destroys the existing buckets and creates new buckets from the existing timed events
  +  */
   /datum/controller/subsystem/timer/proc/reset_buckets()
  -	var/list/bucket_list = src.bucket_list
  +	var/list/bucket_list = src.bucket_list // Store local reference to datum var, this is faster
   	var/list/alltimers = list()
  -	//collect the timers currently in the bucket
  +
  +	// Get all timers currently in the buckets
   	for (var/bucket_head in bucket_list)
  -		if (!bucket_head)
  +		if (!bucket_head) // if bucket is empty for this tick
   			continue
   		var/datum/timedevent/bucket_node = bucket_head
   		do
  
positive.code: 	..("B:[bucket_count] P:[length(second_queue)] H:[length(hashes)] C:[length(clienttime_timers)] S:[length(timer_id_dict)]")
  
  /datum/controller/subsystem/timer/fire(resumed = FALSE)
  	var/lit = last_invoke_tick
  	var/last_check = world.time - TICKS2DS(BUCKET_LEN*1.5)
  	var/list/bucket_list = src.bucket_list
  
  	if(!bucket_count)
  		last_invoke_tick = world.time
  
  	if(lit && lit < last_check && head_offset < last_check && last_invoke_warning < last_check)
  		last_invoke_warning = world.time
  		var/msg = "No regular timers processed in the last [BUCKET_LEN*1.5] ticks[bucket_auto_reset ? ", resetting buckets" : ""]!"
  		message_admins(msg)
  		WARNING(msg)
  		if(bucket_auto_reset)
  			bucket_resolution = 0
  
  		log_world("Timer bucket reset. world.time: [world.time], head_offset: [head_offset], practical_offset: [practical_offset]")
  		for (var/i in 1 to length(bucket_list))
  			var/datum/timedevent/bucket_head = bucket_list[i]
  			if (!bucket_head)
  				continue
  
  			log_world("Active timers at index [i]:")
  
  			var/datum/timedevent/bucket_node = bucket_head
  			var/anti_loop_check = 1000
  			do
  				log_world(get_timer_debug_string(bucket_node))
  				bucket_node = bucket_node.next
  				anti_loop_check--
  			while(bucket_node && bucket_node != bucket_head && anti_loop_check)
  		log_world("Active timers in the second_queue queue:")
  		for(var/I in second_queue)
  			log_world(get_timer_debug_string(I))
  
  	var/next_clienttime_timer_index = 0
  	var/len = length(clienttime_timers)
  
  	for (next_clienttime_timer_index in 1 to len)
  		if (MC_TICK_CHECK)
  			next_clienttime_timer_index--
  			break
  
negative.code: 	prev = null
  	return QDEL_HINT_IWILLGC
  
  /**
    * Removes this timed event from any relevant buckets, or the secondary queue
    */
  /datum/timedevent/proc/bucketEject()
  	// Attempt to find bucket that contains this timed event
  	var/bucketpos = BUCKET_POS(src)
  
  	// Store local references for the bucket list and secondary queue
  	// This is faster than referencing them from the datum itself
  	var/list/bucket_list = SStimer.bucket_list
  	var/list/second_queue = SStimer.second_queue
  
  	// Attempt to get the head of the bucket
  	var/datum/timedevent/buckethead
  	if(bucketpos > 0)
  		buckethead = bucket_list[bucketpos]
  
  	// Decrement the number of timers in buckets if the timed event is
  	// the head of the bucket, or has a TTR less than TIMER_MAX implying it fits
  	// into an existing bucket, or is otherwise not present in the secondary queue
  	if(buckethead == src)
  		bucket_list[bucketpos] = next
  		SStimer.bucket_count--
  	else if(timeToRun < TIMER_MAX)
  		SStimer.bucket_count--
  	else
  		var/l = length(second_queue)
  		second_queue -= src
  		if(l == length(second_queue))
  			SStimer.bucket_count--
  
  	// Remove the timed event from the bucket, ensuring to maintain
  	// the integrity of the bucket's list if relevant
  	if(prev != next)
  		prev.next = next
  		next.prev = prev
  