This is the
talk page for discussing improvements to the
Branch table article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google ( books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
![]() | This article is rated C-class on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||
|
In the absence of call statements, those return statements look out of place. I could see goto statements that branch to a common point for resuming execution after the branches, but since the jump table relies on gotos it doesn't require returns. 198.82.9.165 ( talk) 20:13, 28 June 2010 (UTC)
The top of the page implies that they are the same thing, however, the section "Jump table example in C" implies that they are different ("Another simple example, this time demonstrating a jump table rather than a mere branch table"). So what is the difference? Bayle Shanks ( talk) 01:55, 7 July 2015 (UTC)
The text of § Other uses of technique actually describes a special case rather than an alternate use. A branch to one leg of a case statement is a transfer of control. -- Shmuel (Seymour J.) Metz Username:Chatul ( talk) 12:46, 24 July 2024 (UTC)
This is the
talk page for discussing improvements to the
Branch table article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google ( books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
![]() | This article is rated C-class on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||
|
In the absence of call statements, those return statements look out of place. I could see goto statements that branch to a common point for resuming execution after the branches, but since the jump table relies on gotos it doesn't require returns. 198.82.9.165 ( talk) 20:13, 28 June 2010 (UTC)
The top of the page implies that they are the same thing, however, the section "Jump table example in C" implies that they are different ("Another simple example, this time demonstrating a jump table rather than a mere branch table"). So what is the difference? Bayle Shanks ( talk) 01:55, 7 July 2015 (UTC)
The text of § Other uses of technique actually describes a special case rather than an alternate use. A branch to one leg of a case statement is a transfer of control. -- Shmuel (Seymour J.) Metz Username:Chatul ( talk) 12:46, 24 July 2024 (UTC)