Mercurial > vim
comparison runtime/doc/usr_41.txt @ 20766:821925509d8c v8.2.0935
patch 8.2.0935: flattening a list with existing code is slow
Commit: https://github.com/vim/vim/commit/077a1e670ad69ef4cefc22103ca6635bd269e764
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 8 20:50:43 2020 +0200
patch 8.2.0935: flattening a list with existing code is slow
Problem: Flattening a list with existing code is slow.
Solution: Add flatten(). (Mopp, closes https://github.com/vim/vim/issues/3676)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 08 Jun 2020 21:00:04 +0200 |
parents | a672feb8fc4f |
children | 2616c5a337e0 |
comparison
equal
deleted
inserted
replaced
20765:ca776ec54a6c | 20766:821925509d8c |
---|---|
648 index() index of a value in a List | 648 index() index of a value in a List |
649 max() maximum value in a List | 649 max() maximum value in a List |
650 min() minimum value in a List | 650 min() minimum value in a List |
651 count() count number of times a value appears in a List | 651 count() count number of times a value appears in a List |
652 repeat() repeat a List multiple times | 652 repeat() repeat a List multiple times |
653 flatten() flatten a List | |
653 | 654 |
654 Dictionary manipulation: *dict-functions* | 655 Dictionary manipulation: *dict-functions* |
655 get() get an entry without an error for a wrong key | 656 get() get an entry without an error for a wrong key |
656 len() number of entries in a Dictionary | 657 len() number of entries in a Dictionary |
657 has_key() check whether a key appears in a Dictionary | 658 has_key() check whether a key appears in a Dictionary |