Status: New Owner: ---- Labels: Type-Bug Priority-Medium New issue 333 by [email protected]: Avoid copying extension source code when installing extensions http://code.google.com/p/v8/issues/detail?id=333
Each time we install an extension, we copy the source code for it from the C++ v8::RegisteredExtension object into the V8 heap using Factory::NewStringFromAscii. However, we usually hit the extensions_cache and get a Handle<JSFunction> so we don't need the source code at all in the common case. See Genesis::InstallExtension in bootstrapper.cc. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
