Skip to content

latency and memory communication between python and javascript #1541

Answered by r0x0r
5hayanB asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Javascript and Python are completely separated. Data is copied between two. If you pass data from Javascript to Python via JSAPI, data objects are serialized into JSON, passed to Python and deserialized to Python objects. The format of data passed from Python to JS via evaluate_js is up to you, but JSON is probably the best choice
  2. I have not done any profiling, but there is a current issue touching this #1545

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 5hayanB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants