From 3468c99df3af6cd751fd6a43d9b6f3dba8b81c9e Mon Sep 17 00:00:00 2001 From: Mikhail Bezoyan Date: Thu, 3 Oct 2024 18:46:32 +0000 Subject: [PATCH] partial revert of [finagle-memcached] Minor perf optimizations Differential Revision: https://phabricator.twitter.biz/D1174547 --- .../scala/com/twitter/finagle/memcached/util/ParserUtils.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/finagle-memcached/src/main/scala/com/twitter/finagle/memcached/util/ParserUtils.scala b/finagle-memcached/src/main/scala/com/twitter/finagle/memcached/util/ParserUtils.scala index cc6c2d89b9..b1aa43b043 100644 --- a/finagle-memcached/src/main/scala/com/twitter/finagle/memcached/util/ParserUtils.scala +++ b/finagle-memcached/src/main/scala/com/twitter/finagle/memcached/util/ParserUtils.scala @@ -44,7 +44,7 @@ object ParserUtils { segmentStart = segmentEnd + 1 } } - split + split.toSeq } /** @@ -69,4 +69,5 @@ object ParserUtils { num } } + }