Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sais_8_32 (0.19 sec)

  1. src/index/suffixarray/sais.go

    // with len(tmp) ≥ textMax. If len(tmp) ≥ 2*textMax
    // then the algorithm runs a little faster.
    // If sais_8_32 modifies tmp, it sets tmp[0] = -1 on return.
    func sais_8_32(text []byte, textMax int, sa, tmp []int32) {
    	if len(sa) != len(text) || len(tmp) < textMax {
    		panic("suffixarray: misuse of sais_8_32")
    	}
    
    	// Trivial base cases. Sorting 0 or 1 things is easy.
    	if len(text) == 0 {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 32.4K bytes
    - Viewed (0)
Back to top