chatgpt-o1

Refactoring Rust Code with ChatGPT o1

I wanted to use gpt-4o to refactor the code of the trie-hard crate that was featured on hacker news recently. I thought if I removed the enums from the library, I can better understand the simplified code and might be able to play with different trie implementations in rust. Then I woke up today and read the announcement for ChatGPT-o1, had the idea to compare ChatGPT-o1 with ChatGPT-4o on the task of doing this refactoring.