• Stack usage on function call

    B_Cartier
    B_Cartier

    Hello,

    I am encountering a stack usage problem : if a function (or Statement expression  or Lambda) returning a structure is called directly as a argument of another function, a new structure is added on the stack and memory is not reused.

    The example…

    • 11 months ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Android NDK options: What compiler flags should I use for my libraries and apps to get the best performance across the widest range of SoCs?

    Matthew Du Puy
    Matthew Du Puy

    Compiler options is one of those subjects that can get decidedly more complicated as you descend the rabbit hole. Undoubtedly, developers using or creating C/C++/Assembly libraries in Android are seeking to compile the most optimal binary for as many…

    • Answered
    • over 6 years ago
    • Open Source Software and Platforms
    • Android forum