ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor || https://github.com/riverwm/river || channel logs: https://libera.irclog.whitequark.org/river/
scrollmaster has joined #river
elshize has quit [Ping timeout: 245 seconds]
elshize has joined #river
gwizon has quit [Quit: Lost terminal]
scrollmaster has quit [Quit: WeeChat 3.4]
scrollmaster has joined #river
notzmv has quit [Ping timeout: 250 seconds]
notzmv has joined #river
scrollmaster has quit [Quit: WeeChat 3.4]
snakedye has quit [Ping timeout: 240 seconds]
scrollmaster has joined #river
scrollmaster has quit [Quit: WeeChat 3.4]
waleee has quit [Ping timeout: 245 seconds]
Guest26 has joined #river
Guest26 has quit [Client Quit]
snakedye has joined #river
l4s8g_ has joined #river
pkap has joined #river
pkap has quit [Quit: Client closed]
elshize has quit [Ping timeout: 256 seconds]
elshize has joined #river
waleee has joined #river
<leon-p> ifreund: +1 for using u31 for widths. And I think we should also have an assert() in the code somewhere that enforces and documents the maximum window size. IIRC at the moment it's all a bit vague and not well defined and river will probably crash and burn when a window really does get that large.
<novakane> also +1 for u31, I started using it everywhere I can in my projects, really remove a lot of @intCast
<novakane> haven't come accros bugs with it for now
snakedye has quit [Quit: Quit]
snakedye has joined #river
snakedye_real has joined #river
snakedye_real has quit [Quit: snakedye_real]
snakedye has quit [Ping timeout: 272 seconds]
snakedye has joined #river
tdeo has joined #river
snakedye_real has joined #river
l4s8g_ has quit [Quit: l4s8g_]
<leon-p> I think we can probably drop to something even lower than u31 if we wanted to. Even u16 would still hold larger numbers than possible on a 16k (!) screen, so realistically enough for the next five to ten years. Although I think there are fruits hanging a lot lower if we wanted to do some optimisations.
snakedye_real has quit [Quit: snakedye_real]
<ifreund> leon-p: safetly casting from i32 to u16 is more complex than simply checking for 0
<ifreund> and I don't think using u16s would make any noticible difference from an optimization standpoint
<ifreund> s/for 0/for >=0/
<kennylevinsen> 16k is also "only" 4x 4k screens side by side
scrollmaster has joined #river
scrollmaster has quit [Client Quit]