lunarkitty has quit [Quit: Connection closed for inactivity]
lunarkitty has joined #ruby
reset has quit [Quit: reset]
unyu has quit [Ping timeout: 245 seconds]
unyu has joined #ruby
bastienleonard has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
bastienleonard has quit [Ping timeout: 272 seconds]
Rounin has joined #ruby
bastienleonard has joined #ruby
bastienleonard has quit [Ping timeout: 272 seconds]
isene has quit [Ping timeout: 272 seconds]
isene has joined #ruby
leftylink has quit [Ping timeout: 244 seconds]
leftylink has joined #ruby
arestifo has joined #ruby
ged has quit [Ping timeout: 244 seconds]
ged has joined #ruby
aeris has quit [Ping timeout: 244 seconds]
aeris22 has joined #ruby
gr33n7001 has joined #ruby
gr33n7007h has quit [Ping timeout: 252 seconds]
rodd has quit [Ping timeout: 272 seconds]
rodd has joined #ruby
kinduff3 has joined #ruby
eldritch_ has quit [Ping timeout: 272 seconds]
eldritch_ has joined #ruby
kinduff has quit [Ping timeout: 245 seconds]
kinduff3 is now known as kinduff
royo25 has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
kinduff6 has joined #ruby
konsolebox has joined #ruby
kinduff has quit [Ping timeout: 245 seconds]
kinduff6 is now known as kinduff
patrick has joined #ruby
bastienleonard has joined #ruby
bastienleonard has quit [Client Quit]
gr33n7001 has quit [Read error: Connection reset by peer]
gr33n7001 has joined #ruby
gr33n7001 is now known as gr33n7007h
gearnode has joined #ruby
d0htem has quit [Quit: Connection closed for inactivity]
kinduff3 has joined #ruby
kinduff has quit [Ping timeout: 245 seconds]
kinduff3 is now known as kinduff
Garb0 has joined #ruby
arestifo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gearnode has quit [Ping timeout: 244 seconds]
gearnode has joined #ruby
zodeishi has joined #ruby
pwnd_sfw has quit [Read error: Connection reset by peer]
pwnd_sfw has joined #ruby
involans has quit [Ping timeout: 252 seconds]
involans has joined #ruby
involans has quit [Ping timeout: 252 seconds]
Bish has joined #ruby
<Bish>
o/
<Bish>
is there something in ruby, that is like "sizedqueue" but always accumulates a certain number of elements before being "popable"
<Bish>
like.. put 1024 in, and the consumer who waits for 1024 elements gets a bunch
involans has joined #ruby
unyu has quit [Ping timeout: 244 seconds]
<jhass[m]>
maybe there's a gem somewhere but I doubt easy to find. Shouldn't be super hard to build yourself, basically just wrap an array and a queue, on the producer side push into the array and once it reached capacity push it down the queue