Improve code performance when sending forward key event 89/139089/4
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 17 Jul 2017 08:06:29 +0000 (17:06 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Mon, 17 Jul 2017 11:01:56 +0000 (11:01 +0000)
commit834f789a3d9cdffe0e1fa9ec8e4c2b9f85b69d01
tree8c5947f923f3fc16dcab5876f71b6791b2ef6055
parent98dc61e0ea82bb8a54884b018374264fe0e72125
Improve code performance when sending forward key event

Code like this is a typical side effect of the refactoring of old C code turned into C++.
The length of a string in a variable of type std::string is computed by the strlen function.
This method is obviously inefficient and cumbersome.

Change-Id: Ibf17a043b96b134eb8f9b671d2d0d5d64534ebe1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
ism/extras/efl_immodule/isf_imf_context.cpp
ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp