Orestis Floros

Results 143 comments of Orestis Floros

> json-c seems to be the much more popular option compared to runner-up cJSON. I can’t find parson in Debian at all. Haven't looked into either yet but what is...

Thank you @xzfc, that's really illuminating. I am afraid that a performance degradation like this is a significant issue, i3 depends on a lot of JSON parsing/serialising so we should...

> > If we’re considering switching to non-popular JSON libraries, we could also consider bundling libyajl as part of the i3 source tree. Disclaimer: I haven’t looked at whether there...

Experimental support of jsmn (minor modifications to support comments) in `append_layout`: https://github.com/orestisfl/i3/tree/jsmn-tree_append_json Passes tests in equal time as yajl. However, proper benchmars are needed.

Agree with your assessment @sigprof. Effectively we need to maintain our in-repo fork of jsmn and build wrappers around it for our use case. On top of that, we would...

New experiment with yyjson: https://github.com/orestisfl/i3/tree/yyjson-tree_append_json This one has lots of options to play with, that might affect performance, for example memory allocators: https://ibireme.github.io/yyjson/doc/doxygen/html/md_doc__a_p_i.html#autotoc_md74

> Looking at https://github.com/kostya/benchmarks, it seems like the only option we have is yyjson. > > @orestisfl What’s the status of the experiment you did with yyjson? Is it ready...

I opened https://github.com/i3/i3/pull/6534 as a draft PR. Needs significant reviewing and manual testing.

I'll try to add this on the top of my i3 todos but it will have to wait for at least a week

> I still see some problems with this layout: H[a V[b c]] I can resize one of the vertical containers (`b`/`c`) to the left and make `a` be zero-pixel wide....