Thread

  1. Re: Refactor query normalization into core query jumbling

    zengman <zengman@halodbtech.com> — 2025-12-23T03:39:14Z

    Hi,
    
    Though this may be tangential to the current topic, I have long been wanting to revise the two instances of `Assert(len_to_wrt >= 0);`
    in the code to the implementation below. Would you kindly advise if this modification is worthwhile?
    
    ```
    	if (len_to_wrt > 0)
    	{
    		memcpy(norm_query + n_quer_loc, query + quer_loc, len_to_wrt);
    		n_quer_loc += len_to_wrt;
    	}
    ```
    
    --
    Regards,
    Man Zeng
    www.openhalo.org