• Philip Chimento's avatar
    atoms: Use more atoms to avoid converting strings · 5d5f82df
    Philip Chimento authored
    There are a number of places where we used JS_{Get,Set,Define}Property()
    or JS_DefineFunction() with a string literal. In these cases it would be
    better to use an atom so that the string doesn't have to be converted from
    UTF-8 internally each time.
    In some cases there was already an atom defined, and in others we add a
    new atom.
system.cpp 6.27 KB