httr2 icon indicating copy to clipboard operation
httr2 copied to clipboard

Use a ring buffer to reduce memory churn

Open hadley opened this issue 8 months ago • 0 comments

Fixes #704

Initial benchmark indicates that there's more work to be done:

  expression                min   median `itr/sec` mem_alloc
  <bch:expr>           <bch:tm> <bch:tm>     <dbl> <bch:byt>
1 stream_data(req)        6.83s    6.83s     0.147   43.03MB
2 stream_data_raw(req)    5.38s    5.38s     0.186    1.28MB

Also need to figure out why snapshot is broken.

hadley avatar Apr 01 '25 21:04 hadley