It sends the whole cell, along with the cursor position in the cell.

I don't think we've tested performance much, but I would expect that you'd
need a very big cell before the extra cost of sending it all outweighs the
general overhead of sending a message and waiting for a reply from the
kernel.

On 11 January 2018 at 12:47, Jeff Zhang <[email protected]> wrote:

>
> When user type tab, auto completion will happen. My question is does
> jupyter frontend send the whole cell to kernel or just send the current
> line to kernel ?
>
> If the whole cell sent to kernel, would that be too heavy for kernel ?
> And if only the current line sent to kernel, will kernel get code
> completion correctly without the code above current line ?
>
> Thanks in advance.
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/f868cb9c-a265-4db5-b5cd-80b5a73524e3%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/f868cb9c-a265-4db5-b5cd-80b5a73524e3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAOvn4qg_M%2BwAfDDJLR5S8Td3Xp_BxxSpvhtR1Duit2X4nTfvpA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to