Skip to content

Remove debug logging #249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/stream.jl
Original file line number Diff line number Diff line change
Expand Up @@ -683,14 +683,6 @@ function callprocess(stream::TranscodingStream, inbuf::Buffer, outbuf::Buffer)
GC.@preserve(inbuf, minoutsize(stream.codec, buffermem(inbuf))),
)
Δin::Int, Δout::Int, state.code = GC.@preserve inbuf outbuf process(stream.codec, buffermem(inbuf), marginmem(outbuf), state.error)
@debug(
"called process()",
code = state.code,
input_size = buffersize(inbuf),
output_size = marginsize(outbuf),
input_delta = Δin,
output_delta = Δout,
)
consumed!(inbuf, Δin;
transcode = !has_sharedbuf(stream) || stream.state.mode === :write,
) # inbuf is buffer1 if mode is :write
Expand Down
8 changes: 0 additions & 8 deletions src/transcode.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,6 @@ function unsafe_transcode!(
@label process
makemargin!(output, n)
Δin, Δout, code = GC.@preserve input output process(codec, buffermem(input), marginmem(output), error)
@debug(
"called process()",
code = code,
input_size = buffersize(input),
output_size = marginsize(output),
input_delta = Δin,
output_delta = Δout,
)
consumed!(input, Δin)
supplied!(output, Δout)
if code === :error
Expand Down
Loading