Saturday, June 3, 2023

Re: [vim 9 script] String indexing behavior different from legacy Vim

> Sorry but,
> Out of well indexing,
> which is faster ?
>
> 1) indexing by bytes -> legacy
> 2) indexing by characters -> vim9script

Indexing by bytes can be faster. But the difference is probably small,
the computation of the index probably matters more. You'll have to try
it out to know what happens in your situation.

--
hundred-and-one symptoms of being an internet addict:
102. When filling out your driver's license application, you give
your IP address.

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20230603160350.775771C0595%40moolenaar.net.

No comments:

Post a Comment