Revision 5006db1399ed521f00f56708181879627ad39d5b authored by Alexander Plavin on 30 September 2023, 15:17:14 UTC, committed by GitHub on 30 September 2023, 15:17:14 UTC
No behavior change, just a performance improvement: searchsorted(range,
lt=<) now performs exactly as fast as searchsorted(range).

Passing lt=< allows searchsorted to find floating point values such as
-0.0, so it's useful to make it fast - see
https://github.com/JuliaLang/julia/issues/44102#issuecomment-1418152295.
1 parent d988f8f
Raw File
ccalllazybar.c
// This file is a part of Julia. License is MIT: https://julialang.org/license

#include "ccalltest_common.h"

// We expect this to come from `libccalllazyfoo`
extern int foo(int);

DLLEXPORT int bar(int a) {
    return foo(a + 1);
}
back to top