def uflacs_default_parameters(optimize):
    """Default parameters for tuning of uflacs code generation.

    These are considered experimental and may change
    without deprecation mechanism at any time.
    """
    p = {'table_rtol': 1e-06, 'table_atol': 1e-09, 'chunk_size': 8,
        'enable_preintegration': False, 'enable_premultiplication': False,
        'enable_sum_factorization': False, 'enable_block_transpose_reuse': 
        False, 'enable_table_zero_compression': False, 'vectorize': False,
        'alignas': 0, 'padlen': 1, 'use_symbol_array': True,
        'tensor_init_mode': 'upfront'}
    if optimize:
        p.update({'enable_preintegration': True, 'enable_premultiplication':
            False, 'enable_sum_factorization': True,
            'enable_block_transpose_reuse': True,
            'enable_table_zero_compression': True, 'vectorize': False,
            'alignas': 32, 'padlen': 1, 'use_symbol_array': True,
            'tensor_init_mode': 'interleaved'})
    return p
