Re: Couldn't compile a Swift enum test
Re: Couldn't compile a Swift enum test
- Subject: Re: Couldn't compile a Swift enum test
- From: Jens Alfke <email@hidden>
- Date: Mon, 27 Feb 2017 23:13:29 -0800
On Feb 27, 2017, at 2:42 PM, Daryle Walker < email@hidden> wrote:
I’m talking about the system that compiles the file as you type, which also colorizes the text and gives definitions on the side.
That’s not a JIT. A Just-In-Time compiler generates machine code on demand while the program is running, usually by translating bytecode. What you’re talking about is a parser/analyzer, SourceKit, being used by the IDE.
(I know I’m being pedantic, but names are important. If you call this a JIT you’re going to confuse people.)
One source of slow down it that the JIT insists on doing the definitions-on-the-side feature for every word you pass by with the cursor. Even if the cursor went by the word in less than a second. I don’t know what you mean by “definitions-on-the-side” … Do you mean the code-completion pop-up? That’s below, not on the side. And it only shows up as you type, not as you move the mouse cursor around.
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden