Skip to content

taocp 4b 7.2.2.2: Improve Algorithm X step X4 performance #9

Description

@wallberg

X4 seems to be working, but very slowly. Consider these changes:

  • Reduce make() allocs
  • Remove recursive calls
  • Place limit on number of candidate literals

Also consider creating new literal struct used across operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceImprove performance of an existing featuretaocp

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions