--- Log opened Wed Apr 05 00:00:23 2023 00:16 -!- salvatoshi_ [~salvatosh@genymobile-2-6-86.fib.nerim.net] has joined #bitcoin-rust 09:18 -!- salvatoshi_ [~salvatosh@genymobile-2-6-86.fib.nerim.net] has quit [Ping timeout: 252 seconds] 09:48 < stevenroose> Wow, I'm having a case where adding a dependency (smallvec) suddenly makes the borrow checker angry about something that it wasn't angry about before 09:48 < stevenroose> And I have no idea why it's angry.. 09:49 < stevenroose> It's quite deep down, but complains here about lifetime of self.method: https://github.com/stevenroose/rust-jsonrpc/blob/request/src/client.rs#L242 Let me see if smallvec somehow enables some compiler stuff 13:00 -!- salvatoshi_ [~salvatosh@lfbn-idf3-1-1331-187.w92-170.abo.wanadoo.fr] has joined #bitcoin-rust 13:12 -!- salvatoshi_ [~salvatosh@lfbn-idf3-1-1331-187.w92-170.abo.wanadoo.fr] has quit [Ping timeout: 240 seconds] 13:14 -!- b10c_ [~quassel@static.33.106.217.95.clients.your-server.de] has quit [Changing host] 13:14 -!- b10c_ [~quassel@user/b10c] has joined #bitcoin-rust 13:14 -!- b10c_ is now known as b10c 13:40 < stevenroose> Suggestion: we know there is a certain size that 99.9% of segwit programs will never exceed (32 bytes for now), so in the Address payload we could use SmallVec<[u8; 32]> instead of Vec to have Address'es that fit entirely on the stack. 13:40 < stevenroose> From that point, I'd like to suggest we implement Copy on Address :) 13:42 < stevenroose> Oh I see that my rustdocs version of Address is outdated and we use PushBytesBuf now for Address payloads.. Hmm, I guess the same argument holds there, but maybe it's more strange 19:24 -!- salvatoshi_ [~salvatosh@213.174.99.157] has joined #bitcoin-rust 21:06 -!- salvatoshi_ [~salvatosh@213.174.99.157] has quit [Quit: Leaving] --- Log closed Thu Apr 06 00:00:24 2023