Skip to content
Commits on Sep 15, 2011
  1. @OpaOnWindowsNow

    [enhance] qmlPatternAnalysis: reduces the complexity of class_merge

    OpaOnWindowsNow committed
    the class_merge function (which can be called a number of time proportional to the sum type size),
    was for each field of the class :
    -flattening the main type,
    -then linear searching the right sum case,
    -then searching the field type,
    now each operation is done once when the information (ty,class,field) is available and the linear search has been replace by index intersection
    reduction is at least proportional to the size of the sum type
Commits on Jun 21, 2011
  1. Initial open-source release

    MLstate committed
Something went wrong with that request. Please try again.