Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fungus (0.2 sec)

  1. doc/go_mem.html

    <pre>
    i := *p
    if i &lt; 0 || i &gt;= len(funcs) {
    	panic("invalid function index")
    }
    ... complex code ...
    // compiler must NOT reload i = *p here
    funcs[i]()
    </pre>
    
    <p>
    If the complex code needs many registers, a compiler for single-threaded programs
    could discard <code>i</code> without saving a copy and then reload
    <code>i = *p</code> just before
    <code>funcs[i]()</code>.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top