替换circular_buffer