-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
mem-optimizationOptimizes memory footprintOptimizes memory footprintperf-optimizationOptimizes execution speed of prolog codeOptimizes execution speed of prolog codestdlibStandard LibraryStandard Library
Milestone
Description
The current Implementation of append/3 uses O(n) time and copies the entire list. In pure propog, there is no other way, but this performance is not acceptable.
- append/3 should be replaces with a native version that does these goals in O(1) memory and time:
- append(+List, +List, _)
- append(-List, +List, +List)
- append(+List, -List, +List)
Metadata
Metadata
Assignees
Labels
mem-optimizationOptimizes memory footprintOptimizes memory footprintperf-optimizationOptimizes execution speed of prolog codeOptimizes execution speed of prolog codestdlibStandard LibraryStandard Library