Quintillus

Results 63 comments of Quintillus

> I'm struggling to find a clear explanation of how to concisely credit unmodified dependencies that use standard licenses. The Apache license text is quite long and doesn't explicitly say...

Basic Java code for this is located in my editor repo at https://hg.sr.ht/~adj/civ3_cross_platform_editor/browse/src/main/java/com/civfanatics/civ3/xplatformeditor/tabs/map/renderer/ClassicRenderer.java?rev=2aefc36c13bac3b863aed1920c54381243d0cdc4#L857 . There is also a diff for the change set at https://hg.sr.ht/~adj/civ3_cross_platform_editor/rev/2aefc36c13bac3b863aed1920c54381243d0cdc4, if you prefer that format....

Observing a random Civ map, it appears that all rivers end next to two coast tiles. Not sure if that's a 100% true statement, but it was on two maps...

Copying from the other thread: > Plot twist - logging is slow. Not sure why/what part of it is slow (beyond the Filter.ByIncludingOnly part of LogManager not making a difference)....

Did some more testing. The random string hard-coded as 123, measuring the Dutch catapult (the last unit on turn 1) figuring out where to explore, where it checks 10 possibilities...

One more config, and re-mentioningwhat it compares to from above: ``` hardcoded, Godot, but too low to long: 1, 1, 1, 1, 1 = 1 ms average hardcoded, Godot, with...

Found some good info. https://github.com/serilog/serilog-sinks-console/issues/58, especially the first comment from skomis-mm, is really helpful. Basically, the configuration we have may be invoking system console commands _a lot_, and thus slowing...

Added a file sink instead, and got better results. With the same data: ``` real log, custom output format, file: 2, 2, 2, 2, 2 = 2.0 ms average ```...

> Interesting. Thanks for chasing this down. My first thought was that with Serilog being a scalable enterprise tool I'm sure its performance is up to the task, but maybe...

I think I did see that Ben Foster blog while researching this, and read at least part of it. > Formatting in logging is consistently an issue across all loggers...