You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As requested by @ccamel, this issue aims to improve the performance of the Value method in the Dict implementation within engine/dict.go. Currently, the Value method iterates over all key-value pairs, resulting in O(n) time complexity for key retrieval. The use of a list of terms for Dict representation was chosen to leverage Prolog’s pattern matching and unification capabilities through its compatibility with compound terms. However, there's room for enhancement in this approach to boost performance.
@ichiban Oops, looks like this issue was accidentally created by Coderabbit on this repo instead of mine (which is a fork). Not sure why that happened—guess the bots are starting to make their own decisions now! 😅 Feel free to close the issue. Sorry for the hassle! 🙏
As requested by @ccamel, this issue aims to improve the performance of the
Value
method in theDict
implementation withinengine/dict.go
. Currently, theValue
method iterates over all key-value pairs, resulting in O(n) time complexity for key retrieval. The use of a list of terms forDict
representation was chosen to leverage Prolog’s pattern matching and unification capabilities through its compatibility with compound terms. However, there's room for enhancement in this approach to boost performance.PR URL: axone-protocol#17
Comment URL: axone-protocol#17 (comment)
The text was updated successfully, but these errors were encountered: