CLIDragon

Results 34 comments of CLIDragon

Hey @BurntSushi, I'm currently working on implementing ngram indexing in rust with the aim of eventually integrating with ripgrep. I have a (imo) fairly effective method of extracting ngrams from...

You could iterate over all possible verb roots and check if any of them are valid using `Paradigm.verb2verb_classes`, though there is nothing special about that compared to any dictionary. Once...

The issue was because `cataimgui::client::client` is called before `load_colors`, so there are no colors to use.

Patch set to replace `lru_cache_t` with a plain `std::unordered_map`. Performance seems to consistently improve from ~40% to ~37% CPU time, but there's too much noise to observe a measurable change...

`has_potential_los` reduced from ~40% to ~5% using just a `std::unordered_map` ![image](https://github.com/user-attachments/assets/0146908e-737f-4c15-bbef-d43817738953) This is substantiated when using an `lru_cache`, with the cache adding a 1% total time (~20%) overhead. ![image](https://github.com/user-attachments/assets/8ea0beac-4849-47b9-a853-49cca7574286)

Unfortunately the A* algorithm is probably the hardest piece of code to reuse. The current algorithm is deeply integrated with the current cache and pathfinding settings, and the new algorithm,...

Including a list of issues here for future reference. #73674. #74200. #74433 (for the grievances with the current travel system). #75009 (what exactly is the intended behaviour? How much punishment...

#75401. #73269.

> If ref is in a list, it expands: Good to know, though I'll probably leave them unexpanded as I don't want to clutter the comments too much.

Most of the utility functions have been ported and the main settings changes are in #77693. However, the bulk of the work, that is porting the old code to the...