iotjs icon indicating copy to clipboard operation
iotjs copied to clipboard

Process native_sources to native side

Open seanshpark opened this issue 11 years ago • 2 comments

process has native_sources property with text source that will consume JerryScript heap. I think it's better remove this and related implementation to native side to save the JavaScript heap.

seanshpark avatar May 19 '15 07:05 seanshpark

I think we can just hold the pointer to the source via native handle using JObject::SetNative() and JObject::GetNative().

ILyoan avatar May 19 '15 07:05 ILyoan

Closing per #32

ILyoan avatar May 20 '15 11:05 ILyoan