Hello,
On Sat, Aug 27 2022, Richard Biener wrote:
>> Am 26.08.2022 um 23:45 schrieb Martin Jambor :
>>
>> Hi,
>>
>>> On Fri, Aug 26 2022, Richard Sandiford wrote:
>>> Richard Biener writes:
> Am 26.08.2022 um 18:40 schrieb Martin Jambor :
>
> Hi,
>
> This adds a method to bi
> Am 26.08.2022 um 23:45 schrieb Martin Jambor :
>
> Hi,
>
>> On Fri, Aug 26 2022, Richard Sandiford wrote:
>> Richard Biener writes:
Am 26.08.2022 um 18:40 schrieb Martin Jambor :
Hi,
This adds a method to binary search in a sorted array_slice.
The imp
Hi,
On Fri, Aug 26 2022, Richard Sandiford wrote:
> Richard Biener writes:
>>> Am 26.08.2022 um 18:40 schrieb Martin Jambor :
>>>
>>> Hi,
>>>
>>> This adds a method to binary search in a sorted array_slice.
>>>
>>> The implementation is direct copy of vec:bsearch. Moreover, to only
>>> copy
Hi,
On Fri, Aug 26 2022, Richard Biener wrote:
>> Am 26.08.2022 um 18:40 schrieb Martin Jambor :
>>
>> Hi,
>>
>> This adds a method to binary search in a sorted array_slice.
>>
>> The implementation is direct copy of vec:bsearch. Moreover, to only
>> copy it once and not twice, I used const_c
Richard Biener writes:
>> Am 26.08.2022 um 18:40 schrieb Martin Jambor :
>>
>> Hi,
>>
>> This adds a method to binary search in a sorted array_slice.
>>
>> The implementation is direct copy of vec:bsearch. Moreover, to only
>> copy it once and not twice, I used const_cast in the non-const
>>
> Am 26.08.2022 um 18:40 schrieb Martin Jambor :
>
> Hi,
>
> This adds a method to binary search in a sorted array_slice.
>
> The implementation is direct copy of vec:bsearch. Moreover, to only
> copy it once and not twice, I used const_cast in the non-const
> variants to be able to use the
Hi,
This adds a method to binary search in a sorted array_slice.
The implementation is direct copy of vec:bsearch. Moreover, to only
copy it once and not twice, I used const_cast in the non-const
variants to be able to use the const variants. I hope that is
acceptable abuse of const_cast but I'