https://bugs.kde.org/show_bug.cgi?id=442739

--- Comment #4 from Igor Perković <igorp.mail...@gmail.com> ---
> There are things in which we are much faster than sublime etc, but also
things where we are slower.
Yes, Kate is faster than others in some things. Granted. Also it has
out-of-the box experience comparing with SciTE & Sublime (you need to build
a lot around them to get the close to Kate)

>That said, for your last comparison Kate's sort/uniq functionality is
>implemented via javascript. Not sure why 'uniq' is slow, maybe the
algorithm is
>bad or maybe the overhead of calling a JS function is too much. Maybe you
can
>take a look and make it faster?

I have implemented scripts for sort/unique both in Lua & Python for that
sake... and try them on Kate.
For reasonable amount of lines it works really decent.

Things start to work slower on 1,2,3 millions of lines... It really is not
game changer for pure coders,
but being Data Engineer, I've got situation where I need to dig deep into
raw data source, make some adjustments and the text editor comes handy.

Also, my original post was about output speed of Python script execution...
I really do not know why this part slows down, thus my example in
attachment...

Thank you for fast response!


*Igor Perković+385 97 619 6240*


On Fri, 25 Mar 2022 at 07:15, Waqar Ahmed <bugzilla_nore...@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=442739
>
> Waqar Ahmed <waqar....@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |waqar....@gmail.com
>
> --- Comment #3 from Waqar Ahmed <waqar....@gmail.com> ---
> Firstly, I tried to reproduce your issue on linux but failed. Not sure what
> happens on windows that makes everything slow.
>
> > On Linux it works well...Huh, slowest in comparison to my other 2
> editors (SciTE & Sublime Text), but after all works
>
> There are things in which we are much faster than sublime etc, but also
> things
> where we are slower. Also, there is no one on the team that works on the
> windows version of Kate so it lacks polish there and bug fixes for windows
> often take a lot longer. We are slower in some things usually because we
> don't
> know that a performance issue exists, because no one pushed the limits,
> yet.
>
> That said, for your last comparison Kate's sort/uniq functionality is
> implemented via javascript. Not sure why 'uniq' is slow, maybe the
> algorithm is
> bad or maybe the overhead of calling a JS function is too much. Maybe you
> can
> take a look and make it faster? There's another way you can do it
> (linux/mac)
> which will be much faster than anything out there. Hit `Ctrl +\` and type
> `sort
> | uniq` and you are done.
>
> > Hope I make this case a little bit more clear.
>
> yes, but for 1 thing only. Not the whole editor or the problem which this
> bug
> report is about.
>
> --
> You are receiving this mail because:
> You reported the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to