Do "What's wrong with using inline functions" and "Can a recursive function be inline" apply to Delphi inline functions? Furthermore, does anyone know how recursive inline functions are handled in Delphi?
How does the Delphi 2009 compiler handle recursive inline methods?
1.1k Views Asked by Peter Turner At
1
There are 1 best solutions below
Related Questions in DELPHI
- How can I read the header of request to webserver
- Receiving Notifications for Individual Task Completion OmniThreadLibrary Parallel.ForEach
- Delphi - How to get result of function from QuickReport without viewing a report?
- Out of memory while adding documents to a Firebird BLOB field with Delphi
- How to MakeScreenshot fullpage on Delphi
- How to program a COM object with an IEnumerator, IEnumerable interface inside
- How to Dynamically Add Controls to Delphi Form
- How to write a string in Stringrid with DelimitedText in FMX Delphi 11
- TGrid/TStringGrid multi cell selection / multi editing in delphi firemonkey (12)
- How to localize "Today" in the Delphi TMonthCalendar?
- How can I call a SOAP webserver method in Vue.js?
- Efficiently Handling Large Number of API Calls with Delphi 10.4 and OmniThreadLibrary
- Delphi can not compile the unit create by its "XML Data Binding Wizard"
- Save Form Properties in File and then restore those Properties after reopening
- Is it possible to open a blob without saving it to file
Related Questions in RECURSION
- What is the problem in my "sumAtBis" code?
- Leetcode 1255-recursion and backtracking
- Unexpected Recursive Call
- Clang possibly skipping line(s) of code while compiling
- Return an arraylist without passing an argument
- Solving Maze using Backtracking C++
- I can't get the specific node of BST using recursion . i.e. every stack it erase
- Python Quadtree won't insert values
- Top View Of Binary Tree Depth First Search Using TreeMap
- Select/filter tree structure in postgres
- Python global variables in recursion get different result
- Trying to recursively find the area of a polygon
- *Dynamically* decorate a recursive function in Python
- What structure can be made to avoid having to use RefCell?
- Why is the output of the two given cout statements different in the given cpp code
Related Questions in DELPHI-2009
- Access violations and datatype mismatch
- What is the ADO Table equivalent of Delphi/Paradox TTable.SetRange
- How to save a screenshot of a Form containing TRichEdit to a file?
- How to compile a Delphi source code file for execution from the command line with parameters?
- How to catch Delphi App shutting down when run in IDE?
- Delpi packages: should I include source directory in "Tools - Options - Language - Delphi - Library - Library path" and recompile *.dcu each time?
- How to add/insert multiple TJsonArray's within each other and still maintain their 'names'?
- TSaveDialog Options ofAllowMultiSelect doesn't work properly on a W10 system
- Correct syntax to read the value of a JSON string inside nested object using TJSONDataObject
- How to assign richly formatted text to Delphi TRichEdit or TcxRichEdit during design time (possibly, using Lines attribute)?
- How to ask Delphi memo components (TMemo, TcxMemo) to recalculate line breaks? How to prevent the fixed wrapping of lines?
- How can I disable TRadioButtons on a panel without changing their appearance?
- Delphi TCriticalSection Acquire vs Enter - what is the difference?
- Flicker problem with labels in panel of form Delphi-2009
- How to include the last word of hyperlink text in TRichEdit in the blue, underline format of the rest?
Related Questions in INLINE-METHOD
- Cannot call inline fun SearchView.OnQueryTextListener from onCreateOptionsMenu
- inline methods and code readability in modern C++
- Are inline operators good?
- How to do a quick inline method with conditional?
- C++ template and inline
- C++ inline methods with same if statements
- Inlined constructors? Explain this behavior[C++]
- At what stage does the compiler perform inlining?
- How can I avoid repeating code with inline functions?
- Why can't c# use inline anonymous lambdas or delegates?
- Can method inlining optimization cause race conditions?
- Inline functions in dotNet 3.0+ with C#?
- If optimizations are enabled will the JIT always inline this method?
- Inlining in Java
- Calling inline functions C++
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
My guess is probably not since inline is only a suggestion, but lets find out.
A simple recursive factorial routine:
Here is the disassembly of the call to it:
And the disassembly of the routine itself:
Now we make it inline and see what is different in the call:
And the routine itself:
And they both appear the same to me, so I am going to stick with my original hypothesis and say they are not supported.
BTW: this is in Delphi 2009.